cogs/welcome.py
async def on_guild_join(self, guild):
        """Add new guild to database."""
        db.guilds.insert_one(
            {
                "_id": guild.id,
                "prefix": "$",
                "wc": None,
                "colors": [],
                "themes": []
            }
        )
Add new guild to database.
Add new guild to database.
Add new guild to database .
async def on_guild_join(self, guild):
        db.guilds.insert_one(
            {
                "_id": guild.id,
                "prefix": "$",
                "wc": None,
                "colors": [],
                "themes": []
            }
        )
async def on_guild_join ( self , guild ) : db . guilds . insert_one ( { "_id" : guild . id , "prefix" : "$" , "wc" : None , "colors" : [ ] , "themes" : [ ] } )
Add new guild to database.
Add new guild to database .
"""Add new guild to database."""
self
guild