query is the same

This commit is contained in:
deathbybandaid 2019-07-03 11:07:57 -04:00
parent 2db36a6d2e
commit 23755b4f5b

View File

@ -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":