a template to make a new Pycord bot. mostly for my own use, includes util to make success/failure embeds and logs w/ colorama.
| cogs | initial commit | |
| .gitignore | initial commit | |
| configuration.yaml | initial commit | |
| LICENSE | Initial commit | |
| main.py | initial commit | |
| README.md | Update README.md | |
| requirements.txt | initial commit | |
| util.py | initial commit | |
pycord-template
a template to make a new Pycord bot.
includes
- util functions for logging and embeds
- cogs
- prefixed commands
- basic configuration
util tutorial
- import
from util import log, LogType, embed, EmbedType - use
logging
log(yourmessage: str, LogType.<INFO/WARNING/ERROR>: LogType = INFO)
embed
embed(title: str, description: str, EmbedType.<INFO/SUCCESS/ERROR>: EmbedType = INFO)
configuration
by default you can find the bot token, bot owner and prefix. note that all intents are enabled too by default.