Browse Source

Add support for privileged intents (#36)

* mod_userlog/userinfo: Remove activities which requires a privileged intent

* Add support for intents
main
Ave 5 months ago
committed by Nichole Mattera
parent
commit
eb7a7eae44
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      Robocop.py

+ 6
- 3
Robocop.py View File

@ -34,9 +34,12 @@ initial_extensions = [
"cogs.uwu",
]
bot = commands.Bot(
command_prefix=get_prefix, description=config.bot_description, pm_help=True
)
intents = discord.Intents.default()
intents.typing = False
intents.members = True
bot = commands.Bot(command_prefix=get_prefix, pm_help=True,
description=config.bot_description, intents=intents)
bot.log = log


Loading…
Cancel
Save