Discord bot to compile and run code and fix code formatting, all without leaving discord and just a single click (reaction) away. Supports tons of languages and automatically finds runnable code in messages.
- compile and run code from discord messages
- reformat java code and fix indentation
- reminder function
- listen to GitHub repository events and posts summary on push
- show date and time from messages in local timezone
- send get requests via slash command
paste the link into a browser window and select your server for the bot to join.
https://discord.com/api/oauth2/authorize?client_id=779383631255961640&permissions=11328&scope=bot
- replace
change-mewith the jda token indocker-compose.yml docker-compose build && docker-compose up -d
- replace
change-meinapplication.ymlwhen running withspring-boot:runor add the parametercodey.tokenwith your bots token to your run configuration in your IDE. - run the main method in class
CodeyApplicationor the maven taskspring-boot:run
- visit and login https://discord.com/developers/applications
- create a
New Application, give it a name - click
Botand thenAdd Bot - to reveal your token click
Click To Reveal Tokenand copy that token to the places described above depending on how you run it - select
OAuth2 - check
botin Scopes - after checking
botyou can select the bot permissionsSend Messages,Add Reactions,View ChannelsandManage Messages(or whatever it is your bot needs if you don't intend to build the one in this repo) - now click on
Copynext to the generated link and paste it into a browser window. - select your server to let the bot join.
- if you run your bot now it shows as online in your servers memberlist.
