discord_handler#

tradeexecutor.cli.discord_handler module.

Module description#

Discord logging handler.

Based on the orignal work by Copyright (c) 2019 Trayser Cassa (MIT licensed)

See also other inspirations and sources - https://github.com/TrayserCassa/DiscordHandler/blob/master/discord_handler/DiscordHandler.py - https://pypi.org/project/discord-webhook/ - https://github.com/chinnichaitanya/python-discord-logger/blob/master/discord_logger/message_logger.py

Classes#

DiscordHandler

A handler class which writes logging records, appropriately formatted, to a Discord Server using webhooks.