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
Release files for quotly 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quotly-0.2.3.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quotly-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / quotly-0.2.3.tar.gz
| Download URL | quotly-0.2.3.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bc5779bb5e1ea7dbed2293e49592cd963fc496879b0cd933838b3543be95775
|
|
BLAKE2b-256 checksum How to use checksums |
3b3d7ebb577c4e14647cfe6715c959bf86def198d69e80284d157581895ac5e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / quotly-0.2.3-py3-none-any.whl
| Download URL | quotly-0.2.3-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
319effb071ba72429a622c0751683e7fa1d4bbc761b602728942c2facb9fa899
|
|
BLAKE2b-256 checksum How to use checksums |
8434ab05208f9280b85868499378a3e7437b5030e7e48be97ea1864d4dfe8e15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|