Skip to content

Commit

Permalink
Intents must be passed in 2.0a now
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorialis committed Apr 27, 2022
1 parent 0a9922d commit 5e83df5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_cog.py
Expand Up @@ -38,7 +38,7 @@
]
)
async def bot(request):
b = request.param[1]('?', **request.param[2])
b = request.param[1]('?', intents=discord.Intents.all(), **request.param[2])
await discord.utils.maybe_coroutine(b.load_extension, request.param[0])

yield b
Expand Down
2 changes: 1 addition & 1 deletion tests/test_subclassing.py
Expand Up @@ -45,7 +45,7 @@
]
)
async def bot(request):
b = request.param[3]('?', **request.param[4])
b = request.param[3]('?', intents=discord.Intents.all(), **request.param[4])
await discord.utils.maybe_coroutine(b.load_extension, request.param[0])

b.test_cog = request.param[1]
Expand Down

0 comments on commit 5e83df5

Please sign in to comment.