testing change to linked role

This commit is contained in:
Seaswimmer 2023-02-27 19:32:41 -05:00
parent d84934cd02
commit a6ffa3a4b4

View file

@ -103,20 +103,26 @@ class Galaxy(commands.Cog):
await ctx.message.delete()
@faq.command(name="linked_role")
async def faq_linked_role(self, ctx, member: discord.Member = None):
async def faq_linked_role(self, ctx, ver: int = None, member: discord.Member = None):
"""Posts an embed containing FAQ about Linked Role. (WIP)"""
color=await self.bot.get_embed_color(None)
embed=discord.Embed(title="Linked Role", color=color, description="**Before reading this, please make sure your Discord client is updated! On Mobile, you can do this by going to your app store of choice and updating Discord manually. On PC/MacOS/Linux you can do this by clicking the green update button in the top right.**")
embed_desktop=discord.Embed(title="PC / MacOS / Linux (WIP)", color=color, description="WIP")
embed_mobile=discord.Embed(title="Mobile (WIP)", color=color, description="WIP")
embed2=discord.Embed(title="Linked Role", color=color, description="**Before reading this, please make sure your Discord client is updated! On Mobile, you can do this by going to your app store of choice and updating Discord manually. On PC/MacOS/Linux you can do this by clicking the green update button in the top right.**")
embed2.add_field(title="PC / MacOS / Linux (WIP)", value="WIP")
embed2.add_field(title="Mobile (WIP)", value="WIP")
if member:
await ctx.channel.send(embed=embed, content=member.mention)
await ctx.channel.send(embed=embed_desktop)
await ctx.channel.send(embed=embed_mobile)
else:
await ctx.channel.send(embed=embed)
await ctx.channel.send(embed=embed_desktop)
await ctx.channel.send(embed=embed_mobile)
if ver(1):
await ctx.channel.send(embed=embed)
await ctx.channel.send(embed=embed_desktop)
await ctx.channel.send(embed=embed_mobile)
else:
await ctx.channel.send(embed=embed2)
await ctx.message.delete()