Discord Python Bot Template, for those looking for ideas or starting to learn Python!
Discord Python Bot Template, for those looking for ideas or starting to learn Python!
If you have suggestions on adding something, feel free to ask and or make a PR!
pip install -r requirements.txt
When setting up the bot remove "example" from example.config.py!!
# Imports
import disnake
# Discord Token
token = 'TOKEN'
# Version
version = '1.5.5'
# Your Discord Server ID Will Go Here
guild = 'GUILD ID'
# The Prefix You Want For Your Discord Bot
prefix = '!'
# Bot Status
activity = ["/help", "discord.py", "With Python", "Made by Person0z", "v1.5.6"]
# Colors
Success = disnake.Color.green
Error = disnake.Color.red
Random = disnake.Color.random
# Owner ID
owner_ids = [000000000000000, 000000000000000] # You can add more owner ids by adding a comma and the id
# Welcomes & Goodbyes Channel ID
welcome_channel = 0000000000000000
join_role = 'Member' # The role you want to give to new members
# Logging Channel ID
logs = [0000000000000000] # You can add more channels by doing this: [channel_id, channel_id, channel_id]
The bot can be started with a python command:
python main.py OR python3 main.py OR .sh/bat files