Skip to main content

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

quotly-0.2.3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quotly-0.2.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file quotly-0.2.3.tar.gz.

File metadata

  • Download URL: quotly-0.2.3.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

Hashes for quotly-0.2.3.tar.gz
Algorithm Hash digest
SHA256 6bc5779bb5e1ea7dbed2293e49592cd963fc496879b0cd933838b3543be95775
MD5 0a83ab4e5912a1b628944a1377d42928
BLAKE2b-256 3b3d7ebb577c4e14647cfe6715c959bf86def198d69e80284d157581895ac5e3

See more details on using hashes here.

File details

Details for the file quotly-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: quotly-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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

Hashes for quotly-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 319effb071ba72429a622c0751683e7fa1d4bbc761b602728942c2facb9fa899
MD5 4db914ced9c643bd08dd208f8c4d3e2c
BLAKE2b-256 8434ab05208f9280b85868499378a3e7437b5030e7e48be97ea1864d4dfe8e15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page