From af7ce8ab441deeb0e1f5d2dd7752cc4aae188101 Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Wed, 17 Apr 2019 13:55:57 -0400 Subject: [PATCH] add wait message config --- ASCII/plugin.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index 1143dc2..b96575b 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -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