From b137e06294bc59a19da1ea04764a3c1c77599eae Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 13 Oct 2020 02:23:49 -0400 Subject: [PATCH] Fix not being able to send DMs --- src/run.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/run.py b/src/run.py index 6d910c3..3d4a3f5 100644 --- a/src/run.py +++ b/src/run.py @@ -21,12 +21,16 @@ def get_prefix(bot, message): return u.settings['prefixes'].get(message.guild.id, u.config['prefix']) return u.config['prefix'] +intents = d.Intents.default() +intents.members = True bot = cmds.Bot( + intents=intents, command_prefix=get_prefix, self_bot=u.config['selfbot'], description='Modufur - A booru bot with a side of management and automated tasking' - '\nMade by @Myned#3985') + '\nMade by @Myned#3985' +) @bot.event