mirror of
git://git.acid.vegas/scroll.git
synced 2024-11-07 08:46:45 +00:00
Show how many lines an ASCII that is too big for outside of #scroll is
This commit is contained in:
parent
f46c80ecfa
commit
c23b903399
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user