Skip to main content

A event logger for nextcord discord API library.

Project description

space

discord license

An event logger for nextcord.

Install

$ python3.8 -m pip install -U nextcord-ext-space

Extras

databases package

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nextcord-ext-space-0.1.0.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file nextcord-ext-space-0.1.0.tar.gz.

File metadata

  • Download URL: nextcord-ext-space-0.1.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.0

File hashes

Hashes for nextcord-ext-space-0.1.0.tar.gz
Algorithm Hash digest
SHA256 53f50789bb0827dc8ab8b205f1ce740808a4575c42d0eb7c21b7c9aea7de5c1a
MD5 9e389cb0a7e8c3617eb804179cb63b5a
BLAKE2b-256 456678b1f0df6d1d386d36713bfdcdcda9c6f52e9172cd3b758a7679d25a0e08

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page