From 1f4adf21ccb8d4896a5b82dd14456b432a226ff0 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Tue, 7 Nov 2023 22:23:40 -0600 Subject: [PATCH] sendmsg -> msg --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 7396435..8f6fe82 100644 --- a/bot.py +++ b/bot.py @@ -82,11 +82,11 @@ class bot: return if chan.startswith("0") or (chan == "#main" and lock): if origin != "null": - self.sendmsg(f"Refusing to join channel {chan} (protected)", origin) + self.msg(f"Refusing to join channel {chan} (protected)", origin) return if chan in self.channels and lock: if origin != "null": - self.sendmsg(f"I'm already in {chan}.", origin) + self.msg(f"I'm already in {chan}.", origin) return self.send(f"JOIN {chan}\n") while True: