Skip to content

spectrex0/Discord_Bot_Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

** Set up your Discord bot ** Go to Developer Portal/application 1 - Click on "New Application" and give your bot a name.

GENERAL SECTION

  • Set the following:
    • Name: Choose a name for your bot.
    • Description: Provide a short description of your bot.
    • Icon: Upload an icon for your bot (optional).

BOT SECTION

  • Navigate to the "Bot" tab and:
    • Click "Add Bot" to create a bot user.
    • Copy the Token (you will need this to run your bot).
    • Enable the following settings:
      • Privileged Gateway Intents (if needed):
        • Presence Intent
        • Server Members Intent
        • Message Content Intent (if your bot requires it).

INSTALLATION SECTION

  • Navigate to the "OAuth2" tab and:
    • Go to the "URL Generator" section.
    • Select the following scopes:
      • bot
      • applications.commands
    • Under "Bot Permissions," select the permissions your bot needs (e.g., Send Messages, Manage Roles, etc.).
    • Copy the generated URL and use it to invite your bot to your server.

RUNNING YOUR BOT

  • Make sure you have the following installed:
    • Node.js (if using JavaScript/TypeScript).
    • Any required dependencies (e.g., discord.js for JavaScript).
  • Use the bot token to authenticate and run your bot.

TIPS

  • Always keep your bot token private. Do not share it or commit it to version control.
  • Regularly update your bot to ensure compatibility with Discord API changes.

About

Basic discord bot template for y'all

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published