How to make sure each guild has their own instance of the class/command running? Discordpy

前端 未结 0 479
抹茶落季
抹茶落季 2021-01-21 07:10

This is my cog.

class AmongUs(commands.Cog):
    def __init__(self, bot):
        self.bot = bot
        self.guilds_ids = {}

    async def start(self, ctx):
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题