Skip to content

laura-neale/discord-question-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

A chat bot reminding us to talk to each other during the quarantine

It posts randomly selected questions on a schedule, and in response to user messages

running it

It runs against a devserver-hosted database of questions, and 'randomly' selects one, preferring user-submitted submitted questions to non-user-submitted ones, and questions that haven't been asked recently over questions that were.

It uses a .env file with, and needs the properties "DISCORD_CHANNEL" and "DISCORD_TOKEN"

how to use it

get a question: type 'hey bot'

change the schedule: type set schedule: followed by a comma-separated list of the hours it should post at, e.g. set schedule: 10, 15, 18 (e.g. for 10 am, 3 pm and 6 pm)'

submit a question: dm the bot with your question. Include a ? in the message, so the bot knows it's a question

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published