space
![license](https://img.shields.io/github/license/japandotorg/nextcord-ext-space)
An event logger for nextcord.
Install
$ python3.8 -m pip install -U nextcord-ext-space
You may want to manually install databases
with the correct drivers installed.
Examples
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')