diff --git a/scroll.py b/scroll.py index 9e3d70a..04002d0 100644 --- a/scroll.py +++ b/scroll.py @@ -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