I am programing discord bot when you type ! guns it will give you random gun and image of that gun all in embed. How can i do that ?. How can I add here image ? I have this code:
@client.command()
async def guns(ctx):
items = [
discord.Embed(title = "Gun Classic" , description = "" #here i want image of gun classic),
discord.Embed(title = "Gun Shorty: ", description = "" #here i want image of gun Shorty)]
randomitem = random.choice(items)
await ctx.send(embed=randomitem)
I want add to items with text also picture, But u dont know how. Can somebody help me ?
Aucun commentaire:
Enregistrer un commentaire