mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 06:29:54 -05:00
osdstack
This commit is contained in:
parent
a2d2e9ef43
commit
32a90748e2
@ -252,6 +252,9 @@ class SopelOSD:
|
||||
will default to ``1``.
|
||||
"""
|
||||
|
||||
if not hasattr(self, 'osdstack'):
|
||||
self.osdstack = {}
|
||||
|
||||
text_method = text_method.upper()
|
||||
if text_method == 'SAY' or text_method not in ['NOTICE', 'ACTION']:
|
||||
text_method = 'PRIVMSG'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user