Infinity Bot™
Bot used for Airstrike-Infinity's Discord server. Written in JS.
Installation
(Requires current version of node.js, not LTS version.)
npm install infinity-bot
Wherever the module is installed (should be at ~/node_modules
), modify the file discord.js-commando/src/commands/message.js
at line 134, replacing if(!this.command.hasPermission(this)) {
with if(!(await this.command.hasPermission(this))) {
Initial Configuration
-
Create a bot account and token. Instructions may be found here
-
Get your own user id by following the instructions here
-
Get a YouTube API key by following the instructions here
-
Create
~/.config/infinity-bot/conf.json
-
Copy this format in the config file:
- While in
~
, run./node_modules/.bin/infinity-bot
- Use the
help
command and test out the numerous utility and moderation commands.
Troubleshooting
HELP! THERE'S NO SOUND WHEN PLAYING MUSIC YTF IS UR BOT SHIT?
Did you set the default volume by using the defaultvolume
command?