sendmsg to irc_error fix

This commit is contained in:
Dionysus 2023-06-25 03:02:21 -04:00
parent cdc15eecd8
commit 1deefcef76
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ class Bot():
self.settings[setting] = option
await self.sendmsg(chan, color('OK', light_green))
except ValueError:
await self.sendmsg(chan, 'invalid option', 'must be a float or int')
await self.irc_error(chan, 'invalid option', 'must be a float or int')
elif setting == 'paste':
if option == 'on':
self.settings[setting] = True