Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 974 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 974 Bytes

sample-gacha-bot

Simple example for play pulling gacha with bot in discord

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

bot.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!!

$ npm start

Open discord and go to server which you had assigned bot, Then typing gacha and see the result.