mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
query is the same
This commit is contained in:
parent
2db36a6d2e
commit
23755b4f5b
@ -119,6 +119,14 @@ def prerun_query(t_command_type='module', t_command_subtype=None):
|
||||
@functools.wraps(function)
|
||||
def internal_prerun(bot, trigger, *args, **kwargs):
|
||||
|
||||
# verify the bot is at a loaded state
|
||||
while not botevents.check(botevents.BOT_LOADED):
|
||||
pass
|
||||
|
||||
# Verify channel and user exist
|
||||
verify_channel(trigger)
|
||||
verify_user(trigger)
|
||||
|
||||
botcom = class_create('botcom')
|
||||
|
||||
if t_command_type == "nickname":
|
||||
|
||||
Loading…
Reference in New Issue
Block a user