From fe638f58775cefcee3f81ff34b75342cee230a81 Mon Sep 17 00:00:00 2001 From: Mark Hoekveen Date: Tue, 25 Oct 2022 20:06:41 +0200 Subject: [PATCH] juiste permissions/intents --- Stroopwafel.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Stroopwafel.py b/Stroopwafel.py index b6e4120..e90c8c9 100644 --- a/Stroopwafel.py +++ b/Stroopwafel.py @@ -22,8 +22,10 @@ async def add_cogs(bot): await bot.add_cog(Chatbot.Chatbot(bot)) await bot.add_cog(Points.Points(bot)) +intents = discord.Intents.default() +intents.message_content = True -bot = commands.Bot(command_prefix=commands.when_mentioned_or('!'), description='Stroopwafel. Shitpost bot extraordinaire.', pm_help=True, intents=discord.Intents.default()) +bot = commands.Bot(command_prefix=commands.when_mentioned_or('!'), description='Stroopwafel. Shitpost bot extraordinaire.', pm_help=True, intents=intents) #Read configuration file: config = configparser.ConfigParser()