scroll

- irc bot to play ascii art
git clone git://git.acid.vegas/scroll.git
Log | Files | Refs | Archive | README | LICENSE

commit 1deefcef762d01da2dfc59ae5de6afe882f24441
parent cdc15eecd8fa47df1e7afb839e591e5bec0a1108
Author: acidvegas <acid.vegas@acid.vegas>
Date: Sun, 25 Jun 2023 03:02:21 -0400

sendmsg to irc_error fix

Diffstat:
Mscroll.py | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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