Metadata-Version: 2.1
Name: nextcord-ext-space
Version: 0.1.0
Summary: A event logger for nextcord discord API library.
Home-page: https://github.com/japandotorg/nextcord-ext-space
Author: japandotorg
License: MIT
Keywords: nextcord,extension,discord
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.8.0
Description-Content-Type: text/markdown
License-File: LICENSE

# space
![discord](https://img.shields.io/discord/772708529744248842?color=red&label=discord&style=flat-square)
![license](https://img.shields.io/github/license/japandotorg/nextcord-ext-space)

An event logger for [nextcord](https://github.com/nextcord/nextcord).

## Install
```sh
$ python3.8 -m pip install -U nextcord-ext-space
```

## 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
import logging

from nextcord.ext.space import Astronaut, EventFlags, Configuration
from nextcord.ext.space.recorders.databases import DatabaseRecorder

logging.basicConfig(filename='myBotLog.log', filemode='w', level=logging.DEBUG)

config = Configuration(
    events=EventFlags.guilds()
    recorder=DatabaseRecorder('url/to/my/database')
)

client = Astronaut(config=config)

client.run('TOKEN')
```

