Skip to content

Easily program a Discord bot using block code and translate it to Python.

License

Notifications You must be signed in to change notification settings

wusteven815/block2discord

 
 

Repository files navigation

block2discord

Table of Contents

Features

Use block2discord to create Discord bots in a block-like programming language. To run the code, a program will translate it into Python using discord.py.

Installation/Usage

Editor

  1. Clone this repository with git clone
  2. Install npm dependencies with npm install
  3. Start the server with npx pxt serve

Translator

All steps take place within the translator/ folder

  1. Install pip dependencies with pip install -r requirements.txt
  2. Create a file called block2discord.in and add your Python code from the editor
  3. Run the translator with python translator.py or python3 translator.py

About

Easily program a Discord bot using block code and translate it to Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.8%
  • Python 20.1%
  • Less 8.3%
  • Other 0.8%