Skip to content

G3rrus/.randomizer-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

G3-Bot Version G3-Bot Issues G3-Bot License

Summary

This Bot is just a small school project I've been throwing together on a rainy weekend day. It's main features are 3 commands that work with randomization and 1 helper command that is supposed to give you some info on how to use each command etc.

Features

I'll be using . as a prefix here in the following examples. Aliases will be ommitted for ease of reading.

  • Command Info: .args-info .command Gives you some info about the command you pass to it. Don't forget to use the prefix.
  • Command List: .command-list Prints out a list of all available commands.
  • Coin Flip: .coin-flip Flips a coin and tells you if it landed heads or tails.
  • Dice Roll: .dice-roll number Rolls a n-sides dice depending on the number you pass as a parameter.
  • Random Selector: .choice-randomizer choice1, choice2, choiceN Selects one out of n choices that you pass to it each seperated by a ,.

Requirements

  • node.js v16.0.0 or higher
  • npm discord.js v12.5.3 or higher
  • Certain files depend on the token and prefix. token being the "key" you get from your discord dev application (see support). prefix is whatever comes before your command, you can choose this yourself. Be sure to declare those two in your config.json in your root directory.

Dev Requirements (recommended)

  • npm eslint v7.25.0 or higher
  • .eslintrc.json configuration rules from here

Support

Pull Requests and Issues

Honestly if you want to help out with issues or PR properly structured 'enhancements' to this, feel free to do so.