Coder Social home page Coder Social logo

uofu-cs-discord-bot's Issues

Command time-outs

The reload-config command often times out with a Discord error before the completion message is sent. I think this might be Discord's problem, especially because the reload parsing can be kinda slow (I assume). We need to change it to send an initial "received" message before sending a "finished!" message after a second, I think this will stop Discord's errors. Otherwise it's a core issue with the hardware

Better config.toml parse error messages

Right now if config.toml fails to parse, it posted a horrifically complicated error message to console that's hard to decipher. Would be nice if it said exactly which part failed to parse either to discord (after /reload_config) or to the console

Per-item cooldown values

Add the ability to give each text-detect-response a custom cooldown, with a default also set as it is currently if no custom one is provided

Image downloading

Right now, the only way to display a image from the bot is either to use an embeddable cdn link (like tenor) or to have the image locally, which is pretty hard to do from the NAS environment (at least as far as I can tell). Would be cool to have a command that can download a given image from Discord and place it in the assets folder, then it's trivial to add it to the config

Add community notes

@kingfisher communitynote (user) (content of note) and then the bot just replies to that user's most recent message with the community note

Mute BlueJie by Popular Vote

By popular vote, we are able to mute bluejie with 5 votes within a 5-minute period of each other; the muting will last for 24 hours. this feature applies exclusively to blue and no other members of the server

Changing how the channel create command works

The boss wants the assignment discussion channel deleted from the command entirely, and perms are having significant issues so might want to look into that. Also we need an inverse of this command so we can remove the channels efficiently

Vigilante Justice

Users can call a 5 min timeout vote on anyone, if it passes a certain number of votes, specified user will be timed out.
Limited number of lynches per day.

Local images don't send

When providing a path for a local image, it never seems to actually send the image, at least in the TextAndImage context.

Documentation updates

There's like zero comments in the code, and we probably need a quick run through to add some, at least some docstrings

alarm clock

Every 8:00 AM, ping one of the members that was active in the past 24 hours every 5 minutes until they @ the bot to turn off the alarm.

Remote Code Execution with certain messages

Can work with slash commands. Like, code <some block> gets executed, hopefully in some VM.

Obvious limitations ofc but it would be funniest to support JavaScript first and foremost and give direct access to the machine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.