test
This commit is contained in:
parent
1af2da8523
commit
57872f6732
@ -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)
|
||||
17
sopel_SpiceBot_Runtime_Commands/fartcom.py.py
Normal file
17
sopel_SpiceBot_Runtime_Commands/fartcom.py.py
Normal file
@ -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)
|
||||
17
sopel_SpiceBot_Runtime_Commands/testcom.py.py
Normal file
17
sopel_SpiceBot_Runtime_Commands/testcom.py.py
Normal file
@ -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)
|
||||
Loading…
Reference in New Issue
Block a user