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 the modules root folder. The quotes are stored inside a SQLite database which is also placed in the modules root folder.

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.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

quotly-0.2-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

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