Migration vers Disnake et ajout des components V2
This commit is contained in:
parent
c8c579eefe
commit
98f7501e07
47 changed files with 1196 additions and 722 deletions
7
backups/scratch/check_disnake_2.py
Normal file
7
backups/scratch/check_disnake_2.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import disnake
|
||||
import disnake.ext.commands as commands
|
||||
import asyncio
|
||||
|
||||
bot = commands.Bot(command_prefix="!")
|
||||
print(f"Bot methods: {[m for m in dir(bot) if 'setup' in m or 'load' in m]}")
|
||||
print(f"Is context manager: {hasattr(bot, '__aenter__')}")
|
||||
Loading…
Add table
Add a link
Reference in a new issue