A Discord bot written for fun in Javascript using Discord.js & Node.js.
{
"league": {
"region": "euw1"
},
"prefix": "!",
"github": "https://github.com/Cornayy/Daehria",
"channels": ["bot", "example-channel", "member-log"],
"presence": {
"game": {
"name": "!help for commands",
"type": 1,
"url": "https://www.twitch.tv/cornay"
}
},
"paths": {
"commands": "./src/commands",
"events": "./src/events"
}
}
BOT_TOKEN=token
LEAGUE_TOKEN=token
There is a reference to all available "Game Activity Types" at the links section.
NOTE: Be careful not to leave your bot token online, so always exclude the .env file from github.
To fully support the !getmatch command, add the following emotes to your Discord server: