Git Product home page Git Product logo

discode's Introduction

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):

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.

discode's People

Contributors

dependabot[bot] avatar jrcichra avatar

Stargazers

 avatar

Watchers

 avatar  avatar

discode's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.