From 098373555e1788578815ba6cb4e47a658e0e2fbe Mon Sep 17 00:00:00 2001 From: acidvegas Date: Wed, 28 Jun 2023 14:55:51 -0400 Subject: [PATCH] Typo rbg to rgb fixed --- img2irc.py | 2 +- scroll.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/img2irc.py b/img2irc.py index 9753c4f..2d723e4 100644 --- a/img2irc.py +++ b/img2irc.py @@ -45,7 +45,7 @@ palettes = { 0xbcbcbc, 0xe2e2e2, 0xffffff] } -def convert(data, max_line_len, img_width=80, palette='RBG99'): +def convert(data, max_line_len, img_width=80, palette='RGB99'): if palette not in palettes: raise Exception('invalid palette option') palette = palettes[palette] diff --git a/scroll.py b/scroll.py index b6c7ba2..d3fbd2f 100644 --- a/scroll.py +++ b/scroll.py @@ -84,7 +84,7 @@ class Bot(): self.loops = dict() self.host = '' self.playing = False - self.settings = {'flood':1, 'ignore':'big,birds,doc,gorf,hang,nazi,pokemon', 'lines':500, 'msg':0.03, 'palette':'RBG99', 'paste':True, 'png_width':80, 'results':25} + self.settings = {'flood':1, 'ignore':'big,birds,doc,gorf,hang,nazi,pokemon', 'lines':500, 'msg':0.03, 'palette':'RGB99', 'paste':True, 'png_width':80, 'results':25} self.slow = False self.reader = None self.writer = None