diff --git a/sopel_modules/SpiceBot_osd/__init__.py b/sopel_modules/SpiceBot_osd/__init__.py index 8cd686f..2137386 100644 --- a/sopel_modules/SpiceBot_osd/__init__.py +++ b/sopel_modules/SpiceBot_osd/__init__.py @@ -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'