Protect against discovered miss-use of state
This commit is contained in:
parent
87a0c8f4b6
commit
f2d7e1d490
3 changed files with 6 additions and 6 deletions
|
@ -20,7 +20,7 @@ async def bot():
|
|||
b = commands.Bot(command_prefix="$",
|
||||
intents=intents)
|
||||
await b._async_setup_hook()
|
||||
await b.add_cog(OwnerCog(b, state.State()))
|
||||
await b.add_cog(OwnerCog(b, state.State(state._EMPTY_DICT)))
|
||||
dpytest.configure(b)
|
||||
yield b
|
||||
await dpytest.empty_queue()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue