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 science import Scientist, EventFlags, Configuration
from 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('NzE3MDM0MDE2ODM4MTIzNjYy.XuuC3A.vffXDcn6MPA_WAnZKAbxQo2wLL0')
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
File details
Details for the file discord-ext-science-0.1.1.tar.gz
.
File metadata
- Download URL: discord-ext-science-0.1.1.tar.gz
- Upload date:
- Size: 4.5 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 | 636e622d8a44d1b0028867492c710300710f9b4a231044fe4e730eded3a082f3 |
|
MD5 | d2ec9ab49d04063a22bbb0dfc08b38ca |
|
BLAKE2b-256 | ce8eef56ae4f8332a8b081a0deb2f5e5c18f2c455841a73dc43fa8e45dbca094 |
File details
Details for the file discord_ext_science-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: discord_ext_science-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.4 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 | 960422d57888897e8f04afaac5896911d36f2985e980ba5426b6b20d8fac9368 |
|
MD5 | d6f6d5af4f8c85505671d7284b200b37 |
|
BLAKE2b-256 | c74148d458c4bec53aae5c42c8337df868becedcf59823617229ed4fee394aa9 |