Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for quotly, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size quotly-0.2.3-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size quotly-0.2.3.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page