A Discord bot for running code
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
code
files/admin
.gitignore
README.md
admin.png
index.js
package.json
run

README.md

Code Pupper

Discord bot for running code.

Code Pupper is a chat bot for Discord which runs code written in the chat.

Code Pupper uses these languages

  • C (gcc)
  • C++ (g++)
  • Lua (lua)
  • Python (python)
  • Javascript (node)
  • Swift (swift)

Code Pupper can also save images or files and send them back, by taking the last sent attachment and saving it.

Setup

All the above languages should be installed and available if you plan to use them.

Node.js should be installed, both for Javascript and to run Code Pupper. Discordie will also be required.

npm install Discordie

Once you have created a Discord bot, you will need to copy your bot's token into the code at line 9 of index.js.

Use the run script to start the bot or node index.js.

Image Source

Maru the Shiba Inu (https://www.instagram.com/marutaro/)