How can I add an @-mention from a list of strings of users? I want to notify those selected users.
sample_text: @user#tag
That will be plain text and its not mentionable. Tried to iterate through members and save it as an object but only the bot is returned.
Example code:
async def on_message(self, message):
(...)
embed = discord.Embed(title=c.LFG_OVER, description="Party:", color=c.COLOUR_BANANA)
embed.set_author(name=f"{message.author.display_name}", url="", icon_url=f"{message.author.avatar_url}")
embed.set_thumbnail(url=c.LFG_TY)
embed.add_field(name="_", value=f"This is text: {list1[0]}\nThis is text: {list1[1]}\nThis is text: {list2[0]}\nThis is text: {list2[1]}", inline=True)
embed.add_field(name="_", value=f"This is text: {list3[0]}\nThis is text: {dps[1]}\nThis is text: {list3[2]}\nThis is text: {list3[3]}", inline=True)
await message.channel.send(embed=embed)