1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 14:27:27 +00:00

Fix not being able to send DMs

This commit is contained in:
Myned 2020-10-13 02:23:49 -04:00
parent 3df2438c79
commit b137e06294
No known key found for this signature in database
GPG key ID: D42B2DAADE7D2AB5

View file

@ -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