Giter Club home page Giter Club logo

qotd-bot's Introduction

QOTD Discord Bot

This readme is up to date as of QOTD v1.4.1

Summary

  • This is distrubuted under the MIT Licence
  • You DM the bot to give it a question
  • Delete a message to remove it from the bots list of questions
  • Fully modular command system (operated from the console)
  • You need to set up the config file with stuff like the bot token, server id, channel id, etc. (config.yaml, see the demo), this config file must be located in the same location as the exe that runs the bot
  • For command privleges and how to set them in the config file you should look at this page on DSharpPlus Discord Permissions
  • You will need a discord application to use this, set one up here: Discord Developer Portal
  • The current release is only for windows but you should be able to download the source and then build it for your specific OS
  • I don't provide a way of hosting but if you want a suggestion I am using AWS EC2 Windows 10 Instance
  • I am using DSharpPlus to make this (the dlls should be included with the source code)
  • If you need any help with anything email me at [email protected]

List of current commands:

  • 'remove', removes a question with the same content as the text you give it, notifys the person that asked the question
  • 'quietRemove', same as 'remove' but does not notify the person that asked the question
  • 'removeAllBy', removes all the questions asked by the person you provide
  • 'forceGen', forces the next question to be the text you give it
  • 'forceSpec', forces the next question to be a with the same content as the text you give it, notifys the person that asked the question
  • 'clearForce', clears forced question and uses a regular random question
  • 'timeDebug', prints out the target time to ask the question and the current time
  • 'stop', stops the program and turns off the bot
  • 'sendMod', sends a message with the content of what you give it to the mod channel
  • 'readout', prints out every current possible question plus who asked it
  • 'changeTimeHour', changes the hour that the question will be asked to what you provide (24 hour time)
  • 'changeTimeMinute', changes the minute that the question will be asked at
  • 'askQuestion', asks the question imedeatly
  • 'resetTime', resets any changes to the time that the question will be asked

List of commands that can be run through Discord:

  • '!readout', displays out every current possible question plus who asked it
  • '!remove', removed the question with the same content as what you give it, notifys the person that asked it
  • '!quietRemove', removes the question with the same content as what you give it without notifying the person that asked it
  • '!removeAllBy', removes all question submitted by the user you provide
  • '!timeDebug', displays the time that the bot will ask the question
  • '!changeTimeHour', changes the hour the bot will ask the question at
  • '!changeTimeMinute', changes the minute the bot will ask the question at
  • '!resetTime', resets any modifications to the time the bot will ask the question at
  • '!stop', stops the bot
  • '!askQuestion', forces the bot to ask the question
  • '!info', displays information about the bot
  • '!commandList', displays the list of possible commands

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.