From 38ff6a9b0dbf2b91dbda9a45ac28420c7123cdd7 Mon Sep 17 00:00:00 2001 From: Yuuki Chan Date: Mon, 26 Feb 2024 19:37:32 +0900 Subject: [PATCH] Update bot.py --- src/bot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bot.py b/src/bot.py index 8317786..7951be4 100644 --- a/src/bot.py +++ b/src/bot.py @@ -109,6 +109,9 @@ class Bot: async def action(self, target, msg): await self.ircsend(f'PRIVMSG {target} :\x01ACTION {msg}\x01') + async def notice(self, target, msg): + await self.ircsend(f'NOTICE {target} :{msg}') + def parse_message(self, message): parts = message.split() if not parts: