forked from Raiza.dev/EliteBot
Update bot.py
This commit is contained in:
parent
59ab163664
commit
38ff6a9b0d
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue