fix robot
This commit is contained in:
parent
6ca5ff666e
commit
32302f5c72
@ -21,6 +21,8 @@ class RobotBotModuleConfig(TelegramBotModuleConfig):
|
||||
return dispatcher
|
||||
|
||||
def save_file(self, update: Update, ctx: CallbackContext):
|
||||
config._reload_maybe()
|
||||
|
||||
if self.users.count() and not self.users.filter(user_id=update.effective_user.id).count():
|
||||
update.effective_message.reply_text('GTFO')
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user