A bot developed by Taiwan's r/place community for various discord functions
To get support on this bot, visit the bot-tech-support channel in our server https://discord.gg/8xSQKCHSnT
To get started on developing for this bot, you'll need the following:
- Python
- A code editor
Start by cloning this project on your computer
This project uses Poetry to manage packages. Follow the instructions here to get started with poetry.
Once you have poetry set up, run poetry shell
to start the poetry virtual environment.
To install the packages required for this project, run poetry install
.
To run the bot, run python main.py
.
You'll need the following environment variables in a .env
file for development:
DISCORD_TOKEN_DEV=
GITHUB_TOKEN=
YOUTUBE_API_KEY=
MODERATE_CONTENT_API_KEY=
PLACETW_SERVER_ID=
LOG_CHANNEL=
SUPABASE_URL=
SUPABASE_SECRET_KEY=
/ui-fetch
: Fetch placeTW entries by UI/fetch <entry> <lang>
: Fetch placeTW entries by command line/edit-entry <entry> <lang> <field>
: Edit placeTW entries and get approved/rejected in#translation-submissions
channel
/hgs
: The most important question/101
: Build 101 with random height by emojis
/track <lang>
: Track the translation progress of a language/coord-list
: Show a list of all canvas our/ally coordinates/coord <name>
: Show the canvas coordinates of one entry/edit-coord <name> <x> <y>
: Update the canvas coordinates for one entry/update-plan <announcement>
: Update a plan and post English text and translated Mandarin in some channels
no
no
- Main bot: Runs on main branch, should be stable and not used for developing new features
- Dev bot: Runs on non-main branches, should test stuff with it