This commit is contained in:
parent
ee561c5356
commit
e753423957
1 changed files with 3 additions and 3 deletions
6
bot.py
6
bot.py
|
@ -101,7 +101,7 @@ class Confirm(discord.ui.View):
|
||||||
|
|
||||||
@bot.slash_command(guild_ids=[261575556708040705])
|
@bot.slash_command(guild_ids=[261575556708040705])
|
||||||
@commands.has_role(member_role)
|
@commands.has_role(member_role)
|
||||||
async def roll(ctx,
|
async def roll(ctx,
|
||||||
dice: Option(str, "Würfel den/die du werfen willst. z.B. W20, 3d6", default="W20"),
|
dice: Option(str, "Würfel den/die du werfen willst. z.B. W20, 3d6", default="W20"),
|
||||||
):
|
):
|
||||||
"""Rolle einen oder mehrere Würfel"""
|
"""Rolle einen oder mehrere Würfel"""
|
||||||
|
@ -134,7 +134,7 @@ async def roll(ctx,
|
||||||
|
|
||||||
@bot.slash_command(guild_ids=[261575556708040705])
|
@bot.slash_command(guild_ids=[261575556708040705])
|
||||||
@commands.has_role(gm_role)
|
@commands.has_role(gm_role)
|
||||||
async def gmroll(ctx,
|
async def gmroll(ctx,
|
||||||
dice: Option(str, "Würfel den/die du werfen willst. z.B. W20, 3d6", default="W20"),
|
dice: Option(str, "Würfel den/die du werfen willst. z.B. W20, 3d6", default="W20"),
|
||||||
):
|
):
|
||||||
"""Rolle einen oder mehrere Würfel verdeckt"""
|
"""Rolle einen oder mehrere Würfel verdeckt"""
|
||||||
|
@ -178,7 +178,7 @@ class MyModal(Modal):
|
||||||
original_message = await interaction.channel.fetch_message(self.message_id)
|
original_message = await interaction.channel.fetch_message(self.message_id)
|
||||||
for x in list(emojitext):
|
for x in list(emojitext):
|
||||||
await original_message.add_reaction(alphabet[x])
|
await original_message.add_reaction(alphabet[x])
|
||||||
|
|
||||||
|
|
||||||
@bot.message_command(name="Emoji Text", guild_ids=[261575556708040705])
|
@bot.message_command(name="Emoji Text", guild_ids=[261575556708040705])
|
||||||
@commands.has_role(member_role)
|
@commands.has_role(member_role)
|
||||||
|
|
Loading…
Reference in a new issue