diff --git a/bot/pluralkit/bot.py b/bot/pluralkit/bot.py index 1fbc9245..26e9a8d6 100644 --- a/bot/pluralkit/bot.py +++ b/bot/pluralkit/bot.py @@ -4,12 +4,12 @@ import os import discord -logging.basicConfig(level=logging.DEBUG) +logging.basicConfig(level=logging.INFO) logging.getLogger("discord").setLevel(logging.INFO) logging.getLogger("websockets").setLevel(logging.INFO) logger = logging.getLogger("pluralkit.bot") -logger.setLevel(logging.DEBUG) +logger.setLevel(logging.INFO) client = discord.Client() diff --git a/bot/pluralkit/proxy.py b/bot/pluralkit/proxy.py index 54574cfd..c8470db7 100644 --- a/bot/pluralkit/proxy.py +++ b/bot/pluralkit/proxy.py @@ -112,6 +112,7 @@ async def send_hook_message(member, hook_id, hook_token, text=None, image_url=No async def proxy_message(conn, member, trigger_message, inner): logger.debug("Proxying message '{}' for member {}".format(inner, member["hid"])) + logger.info("[{}#{}] {}".format(member["system_hid"], member["hid"], inner)) # Get the webhook details hook_id, hook_token = await get_webhook(conn, trigger_message.channel)