SuprDiscordBot is a Java 8+ application allowing you to easily script a Discord Bot yourself in JavaScript.
If you encounter any bugs, have suggestions or questions, create an issue.
- Download SuprDiscordBot.zip from the latest release, unzip it and put it in a good location.
- Start SuprDiscordBot using start.bat or start.sh.
- Register an application on Discord's Developer Portal.
- Select "Bot" and click "Add Bot."
- Reveal the token, and copy it.
- Open the
config.json
in SuprDiscordBot's directory and replaceBOT_TOKEN
with the token you've just copied. - Start SuprDiscordBot again.
To get your bot to join your guild, use https://discordapp.com/oauth2/authorize?client_id=__CLIENT_ID_HERE__&scope=bot&permissions=2146958463
where __CLIENT_ID_HERE__
should be replaced by your app's client ID, which you can find in the "General Information" section.
--debug
Enables verbose logging, optimal for debugging scripts.
When making a JavaScript script for SuprDiscordBot, instead of window
and console
, you have ScriptAPI and ConsoleAPI, which you can access as console
and script
, respectively.
Make sure to check out the scripts folder for example scripts and to read the documentation.