GoldyBot.utility.goldy

 1from . import colours, embed, currencies, hearts
 2
 3import GoldyBot
 4
 5def get_pfp() -> str:
 6    """Returns the profile picture of Goldy Bot."""
 7    client:GoldyBot.nextcord.Client = GoldyBot.cache.main_cache_dict["client"]
 8
 9    pfp_url = client.user.display_avatar.url
10
11    if pfp_url == None:
12        return "https://htmlcolors.com/color-image/2f3136.png" # Blank Image
13    else:
14        return pfp_url
def get_pfp() -> str:
 6def get_pfp() -> str:
 7    """Returns the profile picture of Goldy Bot."""
 8    client:GoldyBot.nextcord.Client = GoldyBot.cache.main_cache_dict["client"]
 9
10    pfp_url = client.user.display_avatar.url
11
12    if pfp_url == None:
13        return "https://htmlcolors.com/color-image/2f3136.png" # Blank Image
14    else:
15        return pfp_url

Returns the profile picture of Goldy Bot.