From 7d48158e575ad6f2a82496e220552fba1da6a52c Mon Sep 17 00:00:00 2001 From: Lanta Date: Thu, 2 Oct 2025 13:41:41 +0200 Subject: [PATCH] kanaalid --- discord/teammakerv2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/discord/teammakerv2.py b/discord/teammakerv2.py index 29b822c..1eb8209 100644 --- a/discord/teammakerv2.py +++ b/discord/teammakerv2.py @@ -33,8 +33,9 @@ bot = commands.Bot(command_prefix="!", intents=intents) @bot.event async def on_ready(ctx): print(f'Bot is ingelogd als {bot.user}') - await ctx.send("Ben er weer!") - return + channel = bot.get_channel(759006368832159745) # vervang door je channel ID + if channel: + await channel.send("Ben er weer!") @bot.command() async def test(ctx):