|
|
|
@ -153,7 +153,7 @@ class ChannelHelperBotModuleConfig(TelegramBotModuleConfig):
|
|
|
|
|
if self.users.count() and not self.users.filter(user_id=update.effective_user.id).count():
|
|
|
|
|
update.effective_message.reply_text('GTFO')
|
|
|
|
|
return
|
|
|
|
|
update.effective_message.reply_text(f'{QueuedItem.objects.filter(config=self).count()} items queued')
|
|
|
|
|
update.effective_message.reply_text(f'{QueuedItem.objects.filter(config=self, processed=False).count()} items queued')
|
|
|
|
|
|
|
|
|
|
def build_dispatcher(self, dispatcher: Dispatcher):
|
|
|
|
|
dispatcher.add_handler(CommandHandler(['delete', 'del', 'remove', 'rem'], self.handle_delete, Filters.reply))
|
|
|
|
|