infinity-bot v2.0.5
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:
{
"token": "<Your bot token>",
"ownerID": "<Your UserID>",
"googleAPIKey": "<Your YouTube API Key>"
}
- 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?
Licence
This project is licenced under GPL-3.0. For less legalese as to what you may or may not do with my code, click on the LICENCE file in the root directory of my repository
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago