Discord Python
A simple Python Discord bot built using the discord.py
discord-python
aeither/discord-python
Just deployed
Overview
This project is a simple Discord bot built using the discord.py library. It demonstrates the basic structure of a Discord bot and uses Poetry for dependency management. The bot responds to commands and can be easily extended with additional functionality.
Key Features
- Minimal Discord bot application
- Responds to '!ping' and '!hello' commands
- Uses discord.py for bot functionality
- Uses Poetry for dependency management
- Easy to understand and extend
Setup
pip install poetry
Develop
To run the bot locally:
poetry run python bot.py
Make sure to set up your .env
file with your Discord bot token:
DISCORD_TOKEN=your_token_here
Deploy
To deploy the bot on Railway:
railway up
Remember to set the DISCORD_TOKEN
environment variable in your Railway project settings.
Test
Open Discord, Add Discord to the channel and Try with !hello
or !ping
.
Learn More
Template Content
discord-python
aeither/discord-pythonDISCORD_TOKEN