Merge branch 'master' into feature/context-menu
This commit is contained in:
commit
4b39c5f11f
3 changed files with 26 additions and 3 deletions
5
bot.py
5
bot.py
|
@ -214,6 +214,7 @@ async def survey(ctx, *, arg):
|
|||
if a < z and a != 0:
|
||||
await ask_msg.add_reaction(x)
|
||||
a = a + 1
|
||||
await ask_msg.create_thread(name="Diskussion")
|
||||
|
||||
@bot.command(help="Umfrage bearbeiten", usage="ID | <Frage> | <Antwort1> | <Antwort2> ...", hidden=True)
|
||||
@is_member()
|
||||
|
@ -244,14 +245,14 @@ async def vote(ctx, *, arg):
|
|||
ask_msg = await ctx.send(content="||@here||",embed=em)
|
||||
for x in ["✅", "❔", "❌"]:
|
||||
await ask_msg.add_reaction(x)
|
||||
await ask_msg.create_thread(name="Diskussion")
|
||||
|
||||
@bot.command(help="den Bot etwas sagen lassen", usage="<text>")
|
||||
@is_admin()
|
||||
async def say(ctx, *, arg):
|
||||
await ctx.message.delete()
|
||||
em = discord.Embed(description=arg, colour=0x00E0FF)
|
||||
await message.channel.send(embed=em)
|
||||
await message.delete()
|
||||
await ctx.message.channel.send(embed=em)
|
||||
|
||||
@bot.command(help="Starte ne Runde PnP", usage="@Rolle")
|
||||
@is_gm()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue