A quoting bot for the "Discord Hack Week"
Project description
Quotly
A quoting bot for 'Discord Hack Week'.
Install & Usage
Using pip:
pip install quotly
To tell quotly to use your discord-bot token type:
python -m quotly --token='<TOKEN>'
To start quotly type:
python -m quotly --run
Your discord-bot token is stored inside an .env file inside your working directory. The quotes are stored inside a SQLite database which is also placed in the current working directory.
Commands
Add new quote:
!quotly-add "<quote>" <author>
After adding the quote to database, the command-call is deleted from channel and the user receives a dm with a confirmation that the quote was added.
Get random quote:
!quotly-get
Get random quote from specific author:
!quotly-get <author>
Planned Features
- Mention discord users in quote
- Command for getting a specific quote
- Web-interface
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quotly-0.2.2.tar.gz.
File metadata
- Download URL: quotly-0.2.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53ac1fbe49adace959548a82a965727a5157aa35781a24a9de9b77862dcc92ff
|
|
| MD5 |
71c75740d35550653c4c23c1f97bfc89
|
|
| BLAKE2b-256 |
aafb45c9d86f9a5e8de94a7ba5d3a9a50d6671fff6233b2ff1c5ab5535fc13e4
|
File details
Details for the file quotly-0.2.2-py3-none-any.whl.
File metadata
- Download URL: quotly-0.2.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12a65baf29114c314b50d517a5f631245a43bfbb5902c77edcb8491846483850
|
|
| MD5 |
f56ececd4a461a0d0ae50288f16883cc
|
|
| BLAKE2b-256 |
60f8e9ba60105e8b23236211d4e04327e4c03b74dc149d0ed4d79ffe393dbbec
|