Compress debug info into one message

This commit is contained in:
Firepup Sixfifty 2023-11-07 20:49:44 -06:00
parent d3f4e88934
commit 7a035398ec
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -113,10 +113,8 @@ def eball(bot, chan: str, name: str, message: str) -> None:
def debug(bot, chan: str, name: str, message: str) -> None:
bot.msg(f"[DEBUG] VERSION={bot.__version__}", chan)
bot.msg(f"[DEBUG] NICKLEN={bot.nicklen}", chan)
bot.msg(f"[DEBUG] ADMINS={bot.adminnames}", chan)
bot.msg(f"[DEBUG] CHANNELS={bot.channels}", chan)
dbg_out = {"VERSION": bot.__version__, "NICKLEN": bot.nicklen, "NICK": bot.nick, "ADMINS": bot.adminnames, "CHANNELS": bot.channels}
bot.msg(f"[DEBUG] {dbg_out}", chan)
def raw(bot, chan: str, name: str, message: str) -> None: