Clash Of base is a Discord bot for clash of clan
- Discord.js v13 or higher (
npm install discord.js@latest
) (Update to V14 in coming) - NodeJS v16.6 or higher
- Google APIs Client Library for NodeJS (
npm install googleapis
) applications.commands
scope enabled for your bot in developer portal- Basic knowlegde of Discord.js or JavaScript or NodeJS
npm start
node index.js
node .
- create the
config.json
file
{
"botToken": "ENTER_YOUR_BOT_TOKEN_HERE",
"ownerId": "ENTER_YOUR_ID_HERE",
"clashAPI": "Your clash API"
}
botToken
is the token of your botclashAPI
is your api key for clash of clanownerId
is the ID of the owner of the bot
In coming release :