diff --git a/plugins b/plugins index 2ee43ba..375668d 160000 --- a/plugins +++ b/plugins @@ -1 +1 @@ -Subproject commit 2ee43bab89d5331dd3f4234cb3845dca9e2f145c +Subproject commit 375668d49010fdaaf1ff0df0e646704ab83a42be 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: