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