Skip to content

This is an example bot to make commands with categories using discord.js v13, it contains examples for commands with prefix and slash commands.

License

Notifications You must be signed in to change notification settings

SS13HUB/hub-bot-v3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ss13hub-bot

This is an example bot to make commands with categories using discord.js v13, it contains examples for commands with prefix and slash commands. If you find an error or need support, go to my discord server and open a ticket > Discord Server Here

Dependencies

  • Node v17
  • npm

Steps on how to run this project

  • Step 3: Write the "name of your Bot" and click the "Create" button:

  • Step 4: Go to the "Bot" category:

  • Step 5: Click on the "Add Bot" button:

  • Step 6: Click on the "Copy" button, this to copy the Bot Token:

  • Step 7: Edit .env.example file and paste your bot token.
  • Step 8: Rename .env.example to .env.
  • Step 9: Edit the config.js file to your liking.
  • Step 10: Install bot dependencies with npm i.
  • Step 11: Start the bot with npm start!

How do I invite my bot to a server?

  • Step 1: Go to your application, then click on "OAuth2" and go to the session "URL Generator":

  • Step 2: Here you have to select the permissions of your Bot, in SCOPES first select "Bot" and "applications.commands", then in BOT PERMISSIONS select "Administrator" and then below you will receive the invitation of your bot click on the "Copy" button

  • Step 3: Paste the link of the invitation of your bot that you copy in a tab of your browser, then select the server and give the button "Continue" then the button "Authorize", after this complete the capcha and the bot would already be inside your server!

Languages

  • JavaScript 99.5%
  • Other 0.5%