You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
b0ca631fb8
- Fixed bug where role-permission did not work (except for the bot-owner commands) |
6 years ago | |
---|---|---|
commands | 6 years ago | |
lib | 6 years ago | |
.gitignore | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
bot.js | 6 years ago | |
package.json | 6 years ago | |
renovate.json | 6 years ago |
README.md
discordbot
A bot that does the discord thing.
node bot.js [--token=<DiscordBotToken>] [--ytapi=<GoogleApiKey>] [--owner=<DiscordTag>] [--prefix=<Char>] [--game=<String>]
The arguments are optional because the token and youtube-api-key that the bot needs to run can also be defined in the config.json in the bot's directory:
// config.json
{
"prefix": "_",
"token": "DISCORD BOT TOKEN",
"ytapikey": "YOUTUBE API KEY",
"presence": "THE DEFAULT GAME IF NO presences.txt IS FOUND IN ./data/",
"presence_duration": 300000,
"owners": [
"SPECIFY A LIST OF BOT-OWNERS"
],
"music": {
"timeout": 300000
}
}
Ideas
- command replies saved in file (server specific file and global file)
- reddit api
- anilist api
- othercoolstuff api
- SQLIITE Server-Data Storage