channel.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:telegram-autoposter 作者: vaniakosmos 项目源码 文件源码
def command_change_setting(self, bot: Bot, update: Update, args: List[str]):
        help_msg = 'Usage: `/setting <key> <value>`'
        if len(args) != 2:
            update.message.reply_text(help_msg, parse_mode=ParseMode.MARKDOWN)
            return

        key, value = args
        try:
            self.settings.set(key, value)
        except SettingsError as e:
            update.message.reply_text(str(e))
        self.command_get_settings(bot, update)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号