Open zmitchell opened 11 months ago
Return information about the current status of the bot:
Not sure if we want to go this hard, but I plan to deploy this on fly.io and there's probably a way to hook into that to do deployments. I'd want us to hardcode in that I'm the only one able to do deploys though.
Karma system
<name>++
or<name>--
to increase/decrease a user's "karma".<name>
.<name>
doesn't have to be a real user name. It can be fun to type something likeRust++
.Factoids
Copied from my company chatbot:
!factoid delete <factoid>
- delete a factoid!factoids list
- List all factoids!no, <factoid> is <some phrase, link, whatever>
- Replaces the full definition of a factoid<factoid>?
- Same as~<factoid>
except for there is no response if not found~<factoid>
- Prints the factoid, if it exists. Otherwise tells you there is no factoid~<factoid> is <some phrase, link, whatever>
- Creates a factoid~<factoid> is also <some phrase, link, whatever>
- Updates a factoid.~tell <user> about <factoid>
- Tells the user about a factoid, if it exists~~<user> <factoid>
- Same as ~tell, less typingThis is fun to assign factoids to your coworkers e.g.
~@zmitchell is mega awesome
or~@foo is a notorious shitposter
.Greet new users
Send a stock greeting to new people who join the Discord. This could be fun or just contain some helpful links to Rust docs.
GIF search
Something like
!gifme <phrase>
and the bot would return the first result. The fact that it's the first result and probably not what you actually meant is most of the fun.Image search
Same as the GIF search but returns static images via
!imgme <phrase>
.Detect phrases
Have the chatbot respond with a certain message every time a certain phrase is mentioned in a (public) message. Bonus points if you can teach it new phrases to detect.
"Help" command
List all of the existing commands.