Allow Löh to move himself to his channel

This commit is contained in:
2021-10-26 18:30:35 +02:00
parent 9f7b11144b
commit a65e2fe02e

5
bot.py
View File

@@ -462,6 +462,11 @@ async def halloehl_slash(ctx: SlashContext, user: discord.Member):
await ctx.send("This command is not available in this guild", hidden=True) await ctx.send("This command is not available in this guild", hidden=True)
return return
if user.id == LOEH_ID:
await user.move_to(vc, reason="Löh returns to his home channel")
await ctx.send("done", hidden=True)
return
loeh = await _get_loeh(ctx.guild) loeh = await _get_loeh(ctx.guild)
if loeh is None: if loeh is None:
await ctx.send("404 - Löh not found", hidden=True) await ctx.send("404 - Löh not found", hidden=True)