diff --git a/plugins/core/core_misc.py b/plugins/core/core_misc.py index 7a798f4d..36e52c70 100644 --- a/plugins/core/core_misc.py +++ b/plugins/core/core_misc.py @@ -109,7 +109,7 @@ async def onjoin(conn, bot): logger.info( "[%s|misc] Bot is setting mode on itself: %s", conn.name, mode ) - conn.cmd("MODE", conn.nick, mode) + conn.send(f"MODE {conn.nick} {mode}") log_chan = conn.config.get("log_channel") if log_chan: