A simple event logger for discord.py.
Project description
science
A simple event logger for discord.py.
Install
$ python3 -m pip install -U discord-ext-science
Extras
databases
package
You may want to manually install databases
with the correct drivers installed.
Examples
from discord.ext.science import Scientist, EventFlags, Configuration
from discord.ext.science.recorders.databases import DatabasesRecorder
import logging
logging.basicConfig(filename='log.log', filemode='w', level=logging.DEBUG)
config = Configuration(
events=EventFlags.guilds(),
recorder=DatabasesRecorder("url-to-my-database")
)
client = Scientist(config=config)
client.run('TOKEN')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for discord-ext-science-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd8a961234266f975018176b0d0a838715dd6597c45fc4a2a921b8038b027708 |
|
MD5 | 5781911bcf9603e4a87a340824a328fd |
|
BLAKE2b-256 | 472c390a11f2299ea2d378b8a802002918c3465525defb18a271b6c5cb1b05d2 |
Close
Hashes for discord_ext_science-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eec22f3cbfb31c7edf08dc8a017bc34b9b236defd3dea2e612560924fc5c39b |
|
MD5 | f83d0f323b8a3809e8d0bf88a962461a |
|
BLAKE2b-256 | 73ca1d2298d9b8e81f01ee6987c4e40a0712ac79a6ea1ecd71f2c3cac6681491 |