From 57872f6732c50da2600a6b829cd7422f67db3155 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 10 Feb 2022 13:03:04 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Runtime_Commands/__init__.py | 27 ------------------- sopel_SpiceBot_Runtime_Commands/fartcom.py.py | 17 ++++++++++++ sopel_SpiceBot_Runtime_Commands/testcom.py.py | 17 ++++++++++++ 3 files changed, 34 insertions(+), 27 deletions(-) create mode 100644 sopel_SpiceBot_Runtime_Commands/fartcom.py.py create mode 100644 sopel_SpiceBot_Runtime_Commands/testcom.py.py diff --git a/sopel_SpiceBot_Runtime_Commands/__init__.py b/sopel_SpiceBot_Runtime_Commands/__init__.py index 5423cef..e69de29 100644 --- a/sopel_SpiceBot_Runtime_Commands/__init__.py +++ b/sopel_SpiceBot_Runtime_Commands/__init__.py @@ -1,27 +0,0 @@ - - -from sopel import plugin - -from sopel_SpiceBot_Core_1 import sb - -from sopel_SpiceBot_Core_Prerun import prerun_nickname_command - - -@prerun_nickname_command() -@plugin.nickname_command('test') -def sb_nickname_command(bot, trigger): - bot.say("Testing the bot") - bot.say("Attributes: %s" % [x for x in dir(sb) if not x.startswith("__")]) - bot.say("%s" % sb.versions.dict) - - sb.osd("test", trigger.sender) - - -@prerun_nickname_command() -@plugin.nickname_command('fart') -def sb_fart_command(bot, trigger): - bot.say("Testing the bot") - bot.say("Attributes: %s" % [x for x in dir(sb) if not x.startswith("__")]) - bot.say("%s" % sb.versions.dict) - - sb.osd("test", trigger.sender) diff --git a/sopel_SpiceBot_Runtime_Commands/fartcom.py.py b/sopel_SpiceBot_Runtime_Commands/fartcom.py.py new file mode 100644 index 0000000..f69c0db --- /dev/null +++ b/sopel_SpiceBot_Runtime_Commands/fartcom.py.py @@ -0,0 +1,17 @@ + + +from sopel import plugin + +from sopel_SpiceBot_Core_1 import sb + +from sopel_SpiceBot_Core_Prerun import prerun_nickname_command + + +@prerun_nickname_command() +@plugin.nickname_command('fart') +def sb_fart_command(bot, trigger): + bot.say("Testing the bot") + bot.say("Attributes: %s" % [x for x in dir(sb) if not x.startswith("__")]) + bot.say("%s" % sb.versions.dict) + + sb.osd("test", trigger.sender) diff --git a/sopel_SpiceBot_Runtime_Commands/testcom.py.py b/sopel_SpiceBot_Runtime_Commands/testcom.py.py new file mode 100644 index 0000000..f69c0db --- /dev/null +++ b/sopel_SpiceBot_Runtime_Commands/testcom.py.py @@ -0,0 +1,17 @@ + + +from sopel import plugin + +from sopel_SpiceBot_Core_1 import sb + +from sopel_SpiceBot_Core_Prerun import prerun_nickname_command + + +@prerun_nickname_command() +@plugin.nickname_command('fart') +def sb_fart_command(bot, trigger): + bot.say("Testing the bot") + bot.say("Attributes: %s" % [x for x in dir(sb) if not x.startswith("__")]) + bot.say("%s" % sb.versions.dict) + + sb.osd("test", trigger.sender)