Pass auf das es zu keinem Botnet wird

This commit is contained in:
Kaaninchen
2026-07-18 00:22:33 +02:00
parent 31fea01875
commit 1d32089fa0
2 changed files with 13 additions and 7 deletions
+6 -6
View File
@@ -7,12 +7,12 @@ def setup_commands(bot: discord.Bot):
@bot.slash_command(description="Steige in den nächsten Zug! Beachte das Discord Spam limit (2x in 10min)")
@commands.cooldown(1, 600, commands.BucketType.guild)
async def umstieg(ctx):
success = await rename_vc(bot)
if not success:
await ctx.respond("Kanal nicht gefunden")
return
embed = build_info_embed()
ctx.defer()
rename = await rename_vc(bot)
if not rename:
build_error_embed(rename)
else:
embed = build_info_embed()
await ctx.respond("Informationen zur neuen Fahrt:", embed=embed)
@bot.slash_command(description="Informationen über die aktuelle Fahrt")