1
mirror of git://git.acid.vegas/scroll.git synced 2024-11-21 15:46:39 +00:00

Typo rbg to rgb fixed

This commit is contained in:
Dionysus 2023-06-28 14:55:51 -04:00
parent 98bc3d8589
commit 098373555e
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
2 changed files with 2 additions and 2 deletions

View File

@ -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]

View File

@ -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