Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 880 Bytes

README.md

File metadata and controls

23 lines (21 loc) · 880 Bytes

Sample-bot

Simple example for implement discord bot by using discord.js

NODEJS must be installed

Getting started

$ git clone https://github.com/up2code/sample-bot.git
$ npm install

Find or create your discord bot token here and replace at this login parameter to your token

botRem.login('YOUR BOT TOKEN HERE!!!');

Make sure you have assign your bot in to your server. You can use below URL for bot to login into your server. Replace to your bot client id. You can found in your discord app info here

https://discordapp.com/oauth2/authorize?&client_id=<CLIENT ID>&scope=bot&permissions=0

Edit code as your want. When everything is done, Let's TRY!!

$ node myBot.js