monitorchannel.py 文件源码

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

项目:dogbot 作者: slice 项目源码 文件源码
def on_guild_remove(self, g: Guild):
        if g.id in self.refuse_notify_left:
            # refuse to notify that we got removed from the guild, because the "left bot collection"/"left blacklisted"
            # monitor message already does that
            self.refuse_notify_left.remove(g.id)
            return

        fields = self.guild_fields(g)
        await self.monitor_send(title='\N{OUTBOX TRAY} Removed from guild', fields=fields, color=Colors.ORANGE)
        await self.bot.redis.incr('stats:guilds:removes')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号