diff --git a/bot.py b/bot.py index 20ee8df..669aeb0 100644 --- a/bot.py +++ b/bot.py @@ -46,7 +46,9 @@ OWNER_ID = 327126546970312739 OCH_LOEH_SOUND = "assets/och_loeh.mp3" config_load() -bot = commands.Bot(command_prefix=config.get('prefix')) +intents = discord.Intents.default() +intents.members = True +bot = commands.Bot(command_prefix=config.get('prefix'), intents=intents) if 'LIBOPUS' in os.environ and not len(os.environ['LIBOPUS']) == 0: discord.opus.load_opus(os.environ['LIBOPUS'])