Skip to content

RustyBower/sopel-quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sopel-quotes

A Sopel IRC bot plugin for handling user added quotes with MySQL storage.

Note: This package was previously published as sopel-modules.quotes. Please update your dependencies to use sopel-quotes instead.

Installation

pip install sopel-quotes

System Requirements

# Debian/Ubuntu
apt-get install libmysqlclient-dev

Configuration

[quotes]
db_host = localhost
db_user = quotes
db_pass = your_password
db_name = quotes

Usage

Adding a Quote

.quote <key> = <value>
.quoteadd <key> = <value>

Retrieving a Quote

.quote           # Random quote
.quote <key>     # Specific quote

Searching Quotes

.match <pattern>  # Search for keys matching pattern

Deleting a Quote

.quotedel <key>
.quotedelete <key>

Requirements

  • Sopel 8.0+
  • Python 3.8+
  • MySQL/MariaDB database

License

MIT License

About

A module for handling user added quotes

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages