Tests codes for The TOP LoC ARG in Discord.
Testing server: https://discord.gg/C8fUp7
- Download or clone the repository
- Go to Discord developers panel
- Create an application
- Go to "Bot"
- Create a bot
- Press Copy to get your token
- Create a
.envfile in the cloned folder containingTOKEN=discord bot token here - Run
npm installin a terminal, shell, or command prompt to install bot dependencies - Run
npm run startornode index.jsto start the bot. - Invite the bot to a server. Go to
General Informationin the Discord Developers panel - Copy "Client ID"
- Use this URL, replacing
CLIENT ID HEREwith your client ID:https://discord.com/oauth2/authorize?client_id=CLIENT ID HERE&scope=bot&permissions=8
Set an icon and name if you wish
Make the bot private or public in the "Bot" menu, if you wish.
You can open index.js and update foundList with indexes for USBs (index is USB - 1, 0 is 1, 1 is 2), also update the Role ID in the "found" message with a role to ping, or remove it.