Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrcichra/discode
Compile/Test Code in Discord
https://github.com/jrcichra/discode
coding discord discord-bot discord-js fun insult-generator
Last synced: 7 days ago
JSON representation
Compile/Test Code in Discord
- Host: GitHub
- URL: https://github.com/jrcichra/discode
- Owner: jrcichra
- Created: 2018-11-12T22:19:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-20T00:12:41.000Z (5 months ago)
- Last Synced: 2024-06-21T12:22:31.987Z (5 months ago)
- Topics: coding, discord, discord-bot, discord-js, fun, insult-generator
- Language: JavaScript
- Homepage:
- Size: 215 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discode
A Discord bot that compiles code in Discord!# How to add Discode to your discord server?
I've got a copy of him running on my linux box, you can borrow him :-)
https://discordapp.com/api/oauth2/authorize?client_id=510482832628514837&permissions=0&scope=bot# How to run an actual instance of Discode
1. Download docker on your desired platform of choice
2. Set up a mariadb container and credentials for it to connect with
3. Pass it the environment variables it needs and run it with this command (replace my <>'s):
```bash
docker run --name=<> --hostname=<> --restart=always -e DB_IP=<> -e DB_USERNAME=<> -e DB_PASSWORD=<> -e DB_PORT=<> -e DISCORD_KEY=<> -d jrcichra/discode:master
```
Don't laugh at me, some messages in discord will crash discode, but I have a wonderful little script to keep him alive...I swear I'll figure it out someday.
If you don't like or understand docker, just follow the steps in the Dockerfile. Basically, download node.js, clone this repo, npm install to grab all the dependencies, and then ./run.sh with all the envs after that should do the trick.