How to create a Discord Bot

Watch a YouTube video

Links
(1) https://discordapp.com/developers/applications/me
(2) https://github.com/izy521/discord.io
(3) https://github.com/izy521/discord.io/wiki
(4) https://discordapp.com/oauth2/authorize?client_id=157730590492196864&scope=bot&permissions=0
(REMEMBER TO CHANGE THE CLIENT_ID!!!)

 

Creating a discord bot is actually quite simple and fun :)

 

Instructions:

  1. Install NodeJS (and learn some basic Javascript)
  2. Create a folder where you will put all your files
  3. Go to link (1) and create an Bot
    • Set the “Redirect URL” to “http://discordapp.com” -> or whatever URL you want to redirect to. BUT YOU NEED TO HAVE A LEAST ONE URL.
    • Click the Create Bot User
    • Copy Bot id and Token (click “click to reveal”)
  4. Open up CMD or Terminal and navigate to the folder (from step 2)
  5. Install a node package
    • npm install discord.io

  6. Go to link (2) to download a sample program. Name the JS file whatever you want.
  7. Go to link (4) and replace that really long number after “client_id=” to your Bot id
    • Make sure you have rights to “manage server” on Discord
  8. When you want to run your server
    • node [filename].js

    • replace [filename] with what you named the JS file to be.
  9. Now add whatever features you want to add

Note that in order for your Bot to be “online” you have to run “node [filename].js” and keep it running. So you might have to buy a server to run it 24/7….

 

Hope this is quick and easy to understand!

 купить ледобур для рыбалкигде получить справку пндтопкаргомакияж дневнойинтернет магазин двери для вас входные и межкомнатные двериmellanett.ru

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.