Skip to main content

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)

Source distribution for quotly 0.2.3
File Size Uploaded
quotly-0.2.3.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quotly 0.2.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page