Skip to content

is like ticketbot but for questions of the day, autoposts to assigned channel every so many miliseconds

License

Notifications You must be signed in to change notification settings

TheCanterlonian/qotdbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qotdbot

allows users to manually add questions to a list and automatically posts one question from the list every day.
can only keep 9999 questions in the list before it starts turning to mush.
requires dotnet runtime & SDK installed to run.
use "dotnet run" from inside the project folder to run the bot.

Token Commands

when the bot asks for a token, you can also enter some commands instead and it will tell the difference between them and an actual token.
List of Token Commands:
notYet - exits the program, this is used for debugging
read - read the token in the currently existing token file (will fuck up if there is no token file)
write - write a new token to the file (kinda broken at the moment, i suggest creating the token file manually)
Creating a token file manually: make a text file called "token.txt" in the project folder and put only the token in it, no whitespace, tabs, returns, newlines, feeds, nothing, just the token.

Bot Commands

while the bot is runing, any message sent in a discord channel it can see that starts with "!q " will be interpretted as a command by the bot. if whatever is typed after that doesn't match with anything in the list of commands, (including any extra whitespaces,) the command will return with a message stating "invalid command" and do nothing.
List of Discord Commands:
ping - returns "pong" (i think it's adorable, but it's useful to test the bot, just to see if it's online)
list - returns the entire contents of the question list
add [subject line] - adds a new question to the list with the content of the subject line
asknow - asks the earliest question in the list immediately
askthis [ticket number] - asks the specific question requested immediately (if you find a bug with this, stop using it and let me know immediately on Discord!)
clean - permanently deletes the previously asked questions from the list

About

is like ticketbot but for questions of the day, autoposts to assigned channel every so many miliseconds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages