diff --git a/welcome-bot.py b/welcome-bot.py index 49d1ac8..617309e 100644 --- a/welcome-bot.py +++ b/welcome-bot.py @@ -4,7 +4,8 @@ # import all necessary commands and libraries import discord import asyncio -client=discord.Client() +intents = discord.Intents(members=True) +client=discord.Client(intents=intents) welcomechannel = await client.fetch_channel(channel_id) #https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID # Make sure you get the ID of your channel by right-clicking it and clicking `Copy ID`. Make sure developer mode is on! @client.event