Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Ext-Creators/discord-ext-science

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

science

package versions dependencies license cloned

A simple event logger for discord.py.

View the Changelog here!

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

About

🧪 A discord.py extension with simple logging functionality.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Languages