https://github.com/alyetama/qbot
A Discord bot to save and manage custom quotes
https://github.com/alyetama/qbot
bot discord discord-py python
Last synced: 16 days ago
JSON representation
A Discord bot to save and manage custom quotes
- Host: GitHub
- URL: https://github.com/alyetama/qbot
- Owner: Alyetama
- License: mit
- Created: 2022-09-13T18:25:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-13T21:28:37.000Z (almost 4 years ago)
- Last Synced: 2025-08-21T13:00:15.313Z (11 months ago)
- Topics: bot, discord, discord-py, python
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qBot
🚀 A Discord bot to save and manage custom quotes for your server.
[](https://www.python.org/downloads/) [](https://www.python.org/dev/peps/pep-0008/) [](https://github.com/Rapptz/discord.py) [](https://github.com/Alyetama/Discord-Backup-Bot/blob/main/LICENSE)
## ☑️ Requirements
- 🐍 [python>=3.6](https://www.python.org/downloads/)
## ⬇️ Installation
```sh
git clone https://github.com/Alyetama/qbot.git
cd qbot
pip install -r requirements.txt
```
## ⌨️ Getting Started
- Rename `.env.example` to `.env`, then edit it with your favorite text editor to add your bot token.
- Then, run:
```sh
python bot.py # For verbose output, pass: `--print-logs`
```
## 🐳 Docker
```shell
export TOKEN="xxxxxxxxxxxxxxxxxxxxxx"
docker run \
-d --restart unless-stopped \
-e TOKEN="${TOKEN}" \
-v "${PWD}/database":/database \
alyetama/qbot:latest
```
## 🤖 Commands
- To save a quote: `.qa `
- To get a quote by keyword: `.q `
- To get a quote info by id: `.qinfo `
- To delete a quote: `.qdel `
- To get a random quote: `.qrand`
## 🗒️ Notes
- Discord now requires `Message Content Intent` to be turned on to handle the content of messages. Make sure you have it turned on for your bot in the developer portal: `Bot` -> `Privileged Gateway Intents` -> `Message Content Intent`.