{"repo":"chinnichaitanya/python-discord-logger","free":true,"listed":false,"github":"https://github.com/chinnichaitanya/python-discord-logger","clone":"git clone https://github.com/chinnichaitanya/python-discord-logger.git","description":"🚀 Send custom messages to Discord to notify about application status, progress, errors, health checks etc.","language":"Python","stars":27,"topics":["python","discord","logging","python-discord-logger","messaging","notification","health-check","discord-webhook","notification-service","monitoring"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Python Discord Logger A custom message logger to Discord for Python 3. This project was inspired from winston-discord-transport for NodeJS and built using discord-webhook, which offers an easy interface for constructing and sending messages through a Discord webhook. If you are looking for a Slack alternative, please check python-slack-logger. Install Install via pip: pip install discord-logger Basic Usage Configure various options There are numerous configurations available to customise the bot. Emojis inbuilt! 😃 An appropriate emoji is automatically added before the title depending on the level . Following is the map between level and the emoji added. - default = :loudspeaker: 📢 - error = :x: ❌ - warn = :warning: ⚠️ - info = :bell: 🔔 - verbose = :mega: 📣 - debug = :microscope: 🔬 - success = :rocket: 🚀 Examples Set Service Name, Icon and Environment for easy identification You can configure the log message with service name, icon and environment for easy identification. The Host field which is the hostname of the server is automatically added for every message. You can even send any meta information like the data in the variables, module names, metrics etc with the metadata field while constructing the message. These data should be passed as a dictionary. Send messages without Hostname In case you do not want the hostname to be displayed in the message, disable it by setting \"display hostname\": False in the options as follows. Send messages with different log-levels Th","default_branch":null,"files":null,"tree":[],"storefront":"/r/chinnichaitanya","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chinnichaitanya/python-discord-logger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}