Skip to content

SiegeToaster/Sauron

Repository files navigation

Sauron

crappy Discord bot Finished

Info/Installation

Requires a google sheets document and a google app that you are authorized to use. The app must allow editing and reading your google sheets documents. If you do not know how to set this up, read the Google Sheets API Documentation for Node.js.

The bot also requires a .env file for all configuration info. This must include your discord bot token, google sheets spreadsheet id, and bot prefix. An example .env file is:

discord_token=your discord bot token here
SpreadsheetId=your google sheets spreadsheet ID here
prefix=your prefix here

Note that there are no quotes nor semicolons.

Once everything is setup, run npm install on the folder that the bot is on. This will download all of the required Node.js packages automatically.

On the first launch, make sure to use a terminal that you can input data into as a link will appear and give you a token to paste into the terminal.

Commands

A check mark indicates that the feature is complete

  • ping
    • messages back 'pong'.
  • help
    • messages back an embed of all available commands
  • catjam
    • sends a catjam gif.
  • ben10
  • joe
    • messages back 'joe mama'.
  • absent
    • Checks is people are offline. If people are pinged after command, it only checks those, otherwise, it checks everyone.
  • troll
    • sends the message declared after the command 25 times. If the message includes a ping for tobyf, it will replace the ping with 'Sheeshius Sheeshius'.
  • gamble
    • randomly picks a number between 1 and 10 and asks user to guess. Then, says correct if it is correct.
  • coinflip
    • Flips a coin, lands on heads or tails.
  • jamtime
    • pings everyone asking for jam time and adds reactions for yes or no. Sends a message whenever someone reacts telling who reacted what.
  • rate
    • Sets the score in the database. After the command, a user must be mentioned followed by a number (the score). Example:
    • ?rate @Willius Dominus 10'
  • getscore
    • Gets the score for everyone in the database. Optional: add mention(s) after the command to get their score only. Examples:
    • ?getscore
    • ?getScore @Willius Dominus @Bennamus Jullius
  • set
    • sets a setting (ping, pride, virgin, or sus) to true or false
  • sheeshius
    • get verses from The Holy Book of Sheeshius
    • chapters, lines, both, or neither can be declared. For example:
    • ?sheeshius 1:1 (chapter 1 verse 1)
    • ?sheeshius 1 (entire chapter 1)
    • ?sheeshius (entire book of sheeshius)

About

Discord Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published