This Repository is for a Discord Bot which uses slash commands
Commands created are guild specific to use the commands in all the guild just
client.api .applications(client.user.id) .guilds(config.guildid) .commands.post({})
Edit this to:
client.api .applications(client.user.id) .commands.post({})
(IT TAKES UPTO 1 HOUR TO UPDATE IF YOU USE IT FOR ALL THE GUILDS)
1. Install node.js v12+ or higher
2. Download this repo and unzip it | or git clone it
3. Install all of the packages with npm install
| the important packages are npm install discord.js
4. Fill in the parameters, RIGHT in ./config.json
5. start the bot with node index.js
If you are having errors/problems with starting delete the package.json file and do, before you install the packages npm init
MAKE SURE THAT THE BOT HAS PERMISSION TO USE SLASH COMMANDS
PLEASE INVITE MY BOT AZTEX BOT TO YOUR SERVERS!