added Help
This commit is contained in:
parent
689a6e4314
commit
56bba123c7
1 changed files with 15 additions and 15 deletions
30
bot.py
30
bot.py
|
@ -49,18 +49,18 @@ emojinumbers = ["0\u20E3", "1\u20E3" , "2\u20E3" , "3\u20E3" , "4\u20E3" , "5\u2
|
|||
async def on_ready():
|
||||
print("Bot ready on Version %s..." % discord.__version__)
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="Wirft den gleichen Text zurück.", usage="<Text>", hidden=True)
|
||||
@is_admin()
|
||||
async def test(ctx, arg):
|
||||
await ctx.send(arg)
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="veraltet", usage="")
|
||||
@is_member()
|
||||
async def yesno(ctx):
|
||||
await ctx.message.delete()
|
||||
await ctx.send(content="Sorry das geht so nicht. Der Befehl hat sich geändert in !vote... für mehr Informationen schreib bitte !help oder frage deinen Admin oder Apotheker. Liebste Grüße, SecondBot <3", delete_after=20.0)
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="Zeigt alte Hilfe", usage="")
|
||||
@is_member()
|
||||
async def helpme(ctx):
|
||||
if admin(ctx):
|
||||
|
@ -72,7 +72,7 @@ async def helpme(ctx):
|
|||
await ctx.author.create_dm()
|
||||
await ctx.author.dm_channel.send(embed=em)
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="Umfrage mit mehreren Antwortmöglichkeiten", usage="<Frage> | <Antwort1> | <Antwort2> ...")
|
||||
@is_member()
|
||||
async def survey(ctx, *, arg):
|
||||
await ctx.message.delete()
|
||||
|
@ -93,7 +93,7 @@ async def survey(ctx, *, arg):
|
|||
await ask_msg.add_reaction(x)
|
||||
a = a + 1
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="Umfrage bearbeiten", usage="ID | <Frage> | <Antwort1> | <Antwort2> ...", hidden=True)
|
||||
@is_member()
|
||||
async def surveyedit(ctx, *, arg):
|
||||
#Nutzung: !surveyedit ID | <Frage> | <Antwort1> | <Antwort2> ...
|
||||
|
@ -113,7 +113,7 @@ async def surveyedit(ctx, *, arg):
|
|||
survey_msg = await ctx.channel.fetch_message((int(survey_id)))
|
||||
await survey_msg.edit(embed=em)
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="Ja/Nein Umfrage", usage="<Frage>")
|
||||
@is_member()
|
||||
async def vote(ctx, *, arg):
|
||||
await ctx.message.delete()
|
||||
|
@ -123,7 +123,7 @@ async def vote(ctx, *, arg):
|
|||
for x in ["✅", "❔", "❌"]:
|
||||
await ask_msg.add_reaction(x)
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="", usage="", hidden=True)
|
||||
@is_admin()
|
||||
async def say(ctx, *, arg):
|
||||
await ctx.message.delete()
|
||||
|
@ -131,7 +131,7 @@ async def say(ctx, *, arg):
|
|||
await message.channel.send(embed=em)
|
||||
await message.delete()
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="Starte ne Runde PnP", usage="@Rolle")
|
||||
@is_gm()
|
||||
async def start(ctx, role_id):
|
||||
await ctx.message.delete()
|
||||
|
@ -154,7 +154,7 @@ async def start(ctx, role_id):
|
|||
text_file.write(str(start_msg.id))
|
||||
text_file.close()
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="Beende die gestartete Runde PnP", usage="")
|
||||
@is_gm()
|
||||
async def stop(ctx):
|
||||
await ctx.message.delete()
|
||||
|
@ -169,13 +169,13 @@ async def stop(ctx):
|
|||
await m.move_to(client.get_channel(801869864745697280))
|
||||
await start_msg.edit(content=":game_die: **INFO: PnP Sitzung beendet!** Dauer: %s" % dauer)
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="bringt dich ins Labor :)", usage="")
|
||||
@is_admin()
|
||||
async def labor(ctx):
|
||||
await ctx.message.delete()
|
||||
await ctx.author.move_to(bot.get_channel(765601577334865972))
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="Hinzufügen einer Rolle mit Textchannel und hinzufügen von Usern zur Rolle", usage="\"<Rolle>\" <User Mentions>")
|
||||
@is_admin()
|
||||
async def add(ctx, *, arg):
|
||||
await ctx.message.delete()
|
||||
|
@ -196,7 +196,7 @@ async def add(ctx, *, arg):
|
|||
em = discord.Embed(title="Error Code", description=e, color=0xff0000)
|
||||
await ctx.channel.send(content="Das hat nicht funktioniert. Syntax: !add \"<Rolle>\" <User Mentions>", embed=em, delete_after=20.0)
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="Löschen von Nachrichten", usage="all|<Anzahl>|x minutes/hours/days/weeks")
|
||||
@is_admin()
|
||||
async def purge(ctx, *, arg):
|
||||
#Nutzung: !purge all|<Anzahl>|x minutes/hours/days/weeks
|
||||
|
@ -260,7 +260,7 @@ async def purge(ctx, *, arg):
|
|||
deleted = await ctx.channel.purge(limit=limit)
|
||||
await ctx.send(content='Ich habe {} Nachrichten gelöscht.'.format(len(deleted)), delete_after=5.0)
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="zeige einem User Liebe", usage="<@User1> <@User2> ...")
|
||||
@is_member()
|
||||
async def love(ctx, *, arg):
|
||||
await ctx.message.delete()
|
||||
|
@ -269,7 +269,7 @@ async def love(ctx, *, arg):
|
|||
await user.create_dm()
|
||||
await user.dm_channel.send("❤️")
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="kickt Member ohne Rolle, die 30 Tage nicht online waren", usage="")
|
||||
@is_admin()
|
||||
async def prune(ctx):
|
||||
await ctx.message.delete()
|
||||
|
@ -287,7 +287,7 @@ async def prune(ctx):
|
|||
deleted = await ctx.guild.prune_members(days=30)
|
||||
await ctx.send(content='Ich habe {} Leichen beseitigt.'.format(deleted), delete_after=5.0)
|
||||
|
||||
@bot.command()
|
||||
@bot.command(help="Rolle einen oder mehrere Würfel", usage="<anzahl_optional>W<seitenzahl> (z.B. !roll W20 oder !roll 10W6)")
|
||||
@is_member()
|
||||
async def roll(ctx, arg):
|
||||
await ctx.message.delete()
|
||||
|
|
Loading…
Reference in a new issue