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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file discord-ext-science-0.2.0.tar.gz.
File metadata
- Download URL: discord-ext-science-0.2.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd8a961234266f975018176b0d0a838715dd6597c45fc4a2a921b8038b027708
|
|
| MD5 |
5781911bcf9603e4a87a340824a328fd
|
|
| BLAKE2b-256 |
472c390a11f2299ea2d378b8a802002918c3465525defb18a271b6c5cb1b05d2
|
File details
Details for the file discord_ext_science-0.2.0-py3-none-any.whl.
File metadata
- Download URL: discord_ext_science-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3eec22f3cbfb31c7edf08dc8a017bc34b9b236defd3dea2e612560924fc5c39b
|
|
| MD5 |
f83d0f323b8a3809e8d0bf88a962461a
|
|
| BLAKE2b-256 |
73ca1d2298d9b8e81f01ee6987c4e40a0712ac79a6ea1ecd71f2c3cac6681491
|