Allow Löh to move himself to his channel
This commit is contained in:
5
bot.py
5
bot.py
@@ -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)
|
||||
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)
|
||||
if loeh is None:
|
||||
await ctx.send("404 - Löh not found", hidden=True)
|
||||
|
||||
Reference in New Issue
Block a user