tourists #239

Merged
OpzekerIT merged 1 commit from dev into main 2025-10-02 08:56:52 +00:00
Showing only changes of commit 56f40244c0 - Show all commits

View file

@ -251,5 +251,16 @@ async def moveall(ctx):
await ctx.send(f"{moved_members} speler(s) zijn verplaatst naar het teamify kanaal.") await ctx.send(f"{moved_members} speler(s) zijn verplaatst naar het teamify kanaal.")
else: else:
await ctx.send("Er waren geen spelers om te verplaatsen.") await ctx.send("Er waren geen spelers om te verplaatsen.")
@bot.command()
async def iamgamer(ctx):
role = discord.utils.get(ctx.guild.roles, name="Tourists")
if role is None:
await ctx.send("De rol **Tourists** bestaat niet!")
return
try:
await ctx.author.add_roles(role)
await ctx.send(f"{ctx.author.mention}, je bent nu een **Tourist**! Veel plezier! 🎮")
except Exception as e:
await ctx.send(f"Er is iets misgegaan bij het toekennen van de rol: {e}")
bot.run(token) bot.run(token)