add wait message config

This commit is contained in:
Gordon Shumway 2019-04-17 13:55:57 -04:00 committed by GitHub
parent 522b8eba1a
commit af7ce8ab44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -324,7 +324,8 @@ class ASCII(callbacks.Plugin):
os.remove(filename)
except:
pass
irc.reply("Please be patient while I render the image into ASCII characters and colorize the output.")
waitmsg = self.registryValue('waitMessage', msg.args[0])
irc.reply(waitmsg)
# store dimensions
W, H = image.size[0], image.size[1]
# compute width of tile
@ -446,7 +447,8 @@ class ASCII(callbacks.Plugin):
os.remove(filename)
except:
pass
irc.reply("Please be patient while I render the image into ANSI shader blocks and colorize the output.")
waitmsg = self.registryValue('waitMessage', msg.args[0])
irc.reply(waitmsg)
# store dimensions
W, H = image.size[0], image.size[1]
# compute width of tile