commands.py 文件源码

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

项目:petal 作者: hdmifish 项目源码 文件源码
def anonCheck(self, msg):
        if msg.author == self.client.user:
            return False
        elif msg.channel.id == self.hc.id or msg.channel.id == self.sc.id:
            return True
        else:
            return False
    # AskPatch is designed for discord.gg/patchgaming but you may edit it
    # for your own personal uses if you like
    # the database fields are:
    # Single table:
    # varchar(20) author, vc(20) id, TIMESTAMP time, TEXT content, BOOL used,
    # INT(11)PK entryid, BOOL approved
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号