fix bot and bump version to rc1
This commit is contained in:
parent
d25b3f9a54
commit
5591f8c02e
1 changed files with 3 additions and 3 deletions
6
bot.py
6
bot.py
|
@ -100,7 +100,7 @@ class Confirm(discord.ui.View):
|
|||
self.stop()
|
||||
|
||||
@bot.slash_command(guild_ids=[261575556708040705])
|
||||
@permissions.has_role(member_role)
|
||||
@commands.has_role(member_role)
|
||||
async def roll(ctx,
|
||||
dice: Option(str, "Würfel den/die du werfen willst. z.B. W20, 3d6", default="W20"),
|
||||
):
|
||||
|
@ -133,7 +133,7 @@ async def roll(ctx,
|
|||
await ctx.response.send_message(embed=em)
|
||||
|
||||
@bot.slash_command(guild_ids=[261575556708040705])
|
||||
@permissions.has_role(gm_role)
|
||||
@commands.has_role(gm_role)
|
||||
async def gmroll(ctx,
|
||||
dice: Option(str, "Würfel den/die du werfen willst. z.B. W20, 3d6", default="W20"),
|
||||
):
|
||||
|
@ -181,7 +181,7 @@ class MyModal(Modal):
|
|||
|
||||
|
||||
@bot.message_command(name="Emoji Text", guild_ids=[261575556708040705])
|
||||
@permissions.has_role(member_role)
|
||||
@commands.has_role(member_role)
|
||||
async def emoji_text(ctx, message: discord.Message):
|
||||
modal = MyModal()
|
||||
modal.title = "Emoji Bot"
|
||||
|
|
Loading…
Reference in a new issue