Compress debug info into one message
This commit is contained in:
parent
d3f4e88934
commit
7a035398ec
1 changed files with 2 additions and 4 deletions
|
@ -113,10 +113,8 @@ def eball(bot, chan: str, name: str, message: str) -> None:
|
||||||
|
|
||||||
|
|
||||||
def debug(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)
|
dbg_out = {"VERSION": bot.__version__, "NICKLEN": bot.nicklen, "NICK": bot.nick, "ADMINS": bot.adminnames, "CHANNELS": bot.channels}
|
||||||
bot.msg(f"[DEBUG] NICKLEN={bot.nicklen}", chan)
|
bot.msg(f"[DEBUG] {dbg_out}", chan)
|
||||||
bot.msg(f"[DEBUG] ADMINS={bot.adminnames}", chan)
|
|
||||||
bot.msg(f"[DEBUG] CHANNELS={bot.channels}", chan)
|
|
||||||
|
|
||||||
|
|
||||||
def raw(bot, chan: str, name: str, message: str) -> None:
|
def raw(bot, chan: str, name: str, message: str) -> None:
|
||||||
|
|
Loading…
Reference in a new issue