Metadata-Version: 2.1
Name: discord-ext-science
Version: 0.1.1
Summary: A simple event logger for discord.py.
Home-page: https://github.com/NCPlayz/discord-ext-science
Author: NCPlayz
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.7.0
Description-Content-Type: text/markdown
Requires-Dist: discord.py (==1.3.3)
Provides-Extra: databases
Requires-Dist: databases ; extra == 'databases'

# science

A simple event logger for [discord.py](https://github.com/Rapptz/discord.py).

## Install

```sh
$ python3 -m pip install -U discord-ext-science
```

## Extras

### [`databases`](https://github.com/encode/databases) package

You may want to manually install [`databases`](https://github.com/encode/databases) with the correct drivers installed.

## Examples

```py
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')
```


