mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Fix not being able to send DMs
This commit is contained in:
parent
3df2438c79
commit
b137e06294
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue