ControlxFreak / XmasLootBox

Merry Christmas! Welcome to the 2022 Discord Christmas NFT Loot Box Advent Calendar!
1 stars 0 forks source link

Fix the generation message #24

Closed ControlxFreak closed 1 year ago

ControlxFreak commented 1 year ago

its boring

ControlxFreak commented 1 year ago

old admirable msg:

async def send_admirable_msg(ctx):
    """Sends the admirable message!"""
    # Configure the message
    embedVar = discord.Embed(
        title=f"Generating Loot for {ctx.message.author.name}!",
        description=f"\
            ```diff\n+It Seems You Have Been Quite Admirable This Year!```\n\
            **Please stand-by while my elves generate your daily gifts!**\n\
            **I hope its value goes to the moon!**🪙🚀\n\n\
            This might take a few minutes depending on network traffic, but I will let you know when your gift is ready!\n\n\
            ```css\n[{generate_christmas_countdown_msg()}]\n```",
        color=0x00ff00
    )
    lootbox_file = discord.File("assets/msgs/loot-box.gif", filename="loot_box.gif")
    embedVar.set_image(url="attachment://loot_box.gif")
    # Send the message to the channel
    await ctx.channel.send(embed=embedVar, file=lootbox_file)