fix robot
This commit is contained in:
@@ -21,6 +21,8 @@ class RobotBotModuleConfig(TelegramBotModuleConfig):
|
|||||||
return dispatcher
|
return dispatcher
|
||||||
|
|
||||||
def save_file(self, update: Update, ctx: CallbackContext):
|
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():
|
if self.users.count() and not self.users.filter(user_id=update.effective_user.id).count():
|
||||||
update.effective_message.reply_text('GTFO')
|
update.effective_message.reply_text('GTFO')
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user