Skip to main content

An exact copy of discord-logging but for Nextcord.

Project description

Nextcord Logging

Notices:

Installation:

Install with pip:
pip install nextcord-logging
Usage
import logging
from nextcord.ext import commands
from nextcord_logging import Discord_Handler

logger = logging.getLogger()

WEBHOOK_URL = "Your webhook url"
handler = Discord_Handler(WEBHOOK_URL)

logger.addHandler(handler)

bot = commands.Bot(command_prefix="!")

bot.run("token")
Update with pip:
pip install nextcord-logging --upgrade
Install from source:
python setup.py install

Links:

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

nextcord-logging-1.0.tar.gz (2.2 kB view hashes)

Uploaded Source

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