An exact copy of discord-logging but for Nextcord.
Project description
Nextcord Logging
Notices:
- This module was based off of discord-logging by grarich.
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
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)