Pull this too daddy. #10

Merged
ComputerTech merged 2 commits from Yuuki/EliteBot:master into master 2024-02-22 12:24:20 +01:00
Showing only changes of commit 2d0d05f501 - Show all commits

View file

@ -188,7 +188,8 @@ class Bot:
if message.startswith('&'):
cmd, *cmd_args = message[1:].split()
self.handle_command(source_nick, channel, cmd, cmd_args)
elif args[1].startswith('\x01VERSION\x01'):
if args[1].startswith('\x01VERSION\x01'):
source_nick = source.split('!')[0]
await self.ircsend(f'NOTICE {source_nick} :\x01VERSION EliteBot 0.1\x01')