scroll- irc bot to play ascii art |
git clone git://git.acid.vegas/scroll.git |
Log | Files | Refs | Archive | README | LICENSE |
commit c23b903399b9844651b4bc68793cff11079ad692
parent f46c80ecfafc66efa94964b92c9c5b7cce94d6ec Author: acidvegas <acid.vegas@acid.vegas> Date: Sun, 25 Jun 2023 06:00:04 -0400 Show how many lines an ASCII that is too big for outside of #scroll is Diffstat:
|
1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git a/scroll.py b/scroll.py @@ -152,7 +152,7 @@ class Bot(): if ascii.getcode() == 200: ascii = ascii.readlines() if len(ascii) > int(self.settings['lines']) and chan != '#scroll': - await self.irc_error(chan, 'file is too big', 'take it to #scroll') + await self.irc_error(chan, 'file is too big', 'take those {len(ascii):,} lines to #scroll') else: await self.action(chan, 'the ascii gods have chosen... ' + color(name, cyan)) for line in ascii: |