Skip to content

sripushkar/Python-Shell-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-Shell-Bot

A Discord bot which brings a Python Shell into your Discord server.

Python Shell Bot is a bot built with node.js that brings adds a Python Shell into a server. This is mostly for fun, and does not support input(yet).

To build

You will need the following installed:

  • node.js
  • npm

Download this repo, and create a .env file. Then create a discord bot account, and add the bot token in the .env file like this:

TOKEN = [your token here]

Then to install the dependencies, use

npm install

To run the bot, use

node bot.js

To use the bot:

Start off with >>, then your python command. For example: >>print("hello") will make the bot send 'hello' in the server. To use multiple lines, you can either enter using a new line in the message, or seperate your statements with a semicolon. For example: >>print("Hello"); print("World")

About

A Discord.js bot which brings a Python Shell into your Discord server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published