bots_DaBaby/text_commands.py
async def Dababied(self, ctx, member:discord.Member):
        """Sends embeded da baby pictures
        unaware strangers"""
        dababied = discord.Embed(title="DaBaby-Baby", description=f'{member.name} just got dababied', color=discord.Colour.dark_red()) # use hex or use predefined color
        dababied.set_image(url="https://cdn.discordapp.com/attachments/828220439419158553/828298756754636840/Dababy_BabyOnBaby.png")
        # Images, footer, author and thumbnails are special elements
        # We manipulate them by using a method 
        # i.e. embed_name.set_thumbnail(url=url)
        # embed_name.set_image(url=url)


        # await messagable.send(embed=embed_name)
        # 1. send it to the channel that the command was invoked in
        # 2. send it to the member who got dababied
        await member.send(f'{member.name}You just got DaBabied boi!')
        await ctx.channel.send(embed=dababied)
        
        # ctx represents the context of the command invokation
        # ctx.author represents the person who invoked the command
        # member represents the person who we tagged
        await ctx.author.send(f'You just dababied {member.name}.')
Sends embeded da baby pictures
        unaware strangers
Sends embeded da baby pictures
unaware strangers
Sends embeded da baby pictures unaware strangers
async def Dababied(self, ctx, member:discord.Member):
        dababied = discord.Embed(title="DaBaby-Baby", description=f'{member.name} just got dababied', color=discord.Colour.dark_red()) 
        dababied.set_image(url="https://cdn.discordapp.com/attachments/828220439419158553/828298756754636840/Dababy_BabyOnBaby.png")
        await member.send(f'{member.name}You just got DaBabied boi!')
        await ctx.channel.send(embed=dababied)
        await ctx.author.send(f'You just dababied {member.name}.')
async def Dababied ( self , ctx , member : discord . Member ) : dababied = discord . Embed ( title = "DaBaby-Baby" , description = f'{member.name} just got dababied' , color = discord . Colour . dark_red ( ) ) dababied . set_image ( url = "https://cdn.discordapp.com/attachments/828220439419158553/828298756754636840/Dababy_BabyOnBaby.png" ) await member . send ( f'{member.name}You just got DaBabied boi!' ) await ctx . channel . send ( embed = dababied ) await ctx . author . send ( f'You just dababied {member.name}.' )
Sends embeded da baby pictures
unaware strangers
Sends embeded da baby pictures unaware strangers
"""Sends embeded da baby pictures
        unaware strangers""" # use hex or use predefined color # Images, footer, author and thumbnails are special elements # We manipulate them by using a method  # i.e. embed_name.set_thumbnail(url=url) # embed_name.set_image(url=url) # await messagable.send(embed=embed_name) # 1. send it to the channel that the command was invoked in # 2. send it to the member who got dababied # ctx represents the context of the command invokation # ctx.author represents the person who invoked the command # member represents the person who we tagged
self
ctx
member
discord.Member