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 details)
File details
Details for the file nextcord-logging-1.0.tar.gz.
File metadata
- Download URL: nextcord-logging-1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f530ca0756411581a9319100bbd0633d3a3577bd42891fc6252b0ee61eeadec3
|
|
| MD5 |
681a054403b79270087beb4656df7316
|
|
| BLAKE2b-256 |
c8073dd2522a43d54a50ed5d81bf69f8dd8608a006899adbeeb73073555cf966
|