An open API service indexing awesome lists of open source software.

https://github.com/sigmanificient/simplepythonbot

A simple discord.py OOP bot with basic commands
https://github.com/sigmanificient/simplepythonbot

Last synced: 6 months ago
JSON representation

A simple discord.py OOP bot with basic commands

Awesome Lists containing this project

README

          

# Simple Cog python Bot

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Sigmanificient/SimplePythonBot/badges/quality-score.png?b=one_file_cogs_based_structure)](https://scrutinizer-ci.com/g/Sigmanificient/SimplePythonBot/?branch=one_file_cogs_based_structure)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/Sigmanificient/SimplePythonBot)
![GitHub repo size](https://img.shields.io/github/repo-size/Sigmanificient/SimplePythonBot)
![Lines of code](https://img.shields.io/tokei/lines/github/Sigmanificient/SimplePythonBot)
![GitHub last commit](https://img.shields.io/github/last-commit/Sigmanificient/SimplePythonBot)
![Github](https://shields.io/github/license/Sigmanificient/SimplePythonBot)

Make sure to follow the requirements in `requirements.txt`

The bot token should be in a `.env` file such as the `.env.template` file:
```dotenv
TOKEN=YOUR_BOT_TOKEN
```

## Default commands
- `help`, `bot`, `invite`, `ping`, `load`, `unload`, `reload`

## Clear logs
Everything is kept clear with common log format
```log
[17/May/2021:00:44:27] Loading bot extensions
[17/May/2021:00:44:27] - dev.py
[17/May/2021:00:44:27] - extensions.py
[17/May/2021:00:44:27] - info.py
[17/May/2021:00:44:27] 3 extensions loaded
[17/May/2021:00:44:28] Logged in as Bot#0001 after 0.888s
[17/May/2021:00:44:30] Ready after 2.900s
```