From c23b903399b9844651b4bc68793cff11079ad692 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sun, 25 Jun 2023 06:00:04 -0400 Subject: [PATCH] Show how many lines an ASCII that is too big for outside of #scroll is --- scroll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scroll.py b/scroll.py index 6889689..4fb4723 100644 --- 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: