From 1deefcef762d01da2dfc59ae5de6afe882f24441 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sun, 25 Jun 2023 03:02:21 -0400 Subject: [PATCH] sendmsg to irc_error fix --- scroll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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