We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 777bafb commit 7e60b52Copy full SHA for 7e60b52
1 file changed
command/roleplay/invocar.py
@@ -0,0 +1,25 @@
1
+import discord
2
+from discord.ext import commands
3
+from discord import app_commands
4
+
5
+intents = discord.Intents.default()
6
+intents.members = True
7
8
+bot = commands.Bot(command_prefix='+', intents=intents)
9
10
11
+@bot.tree.command(name="invocar", description="Invoque algum personagem!")
12
+@app_commands.describe(personagem="O Personagem que você vai invocar")
13
+async def invocar(interaction: discord.Interaction, personagem: str):
14
15
+ await interaction.response.defer()
16
17
+ embed = discord.Embed(
18
+ title="Invocação Suprema!",
19
+ description=f"💥 {interaction.user.mention} invocou {personagem}!"
20
+ )
21
22
+ embed.set_footer(text="Invocação")
23
24
25
+ await interaction.followup.send(embed=embed)
0 commit comments