V1.2 récupération automatique des informations des agent O.K sur le website
This commit is contained in:
parent
fe05572549
commit
b5fd8b6526
2 changed files with 40 additions and 2 deletions
|
|
@ -471,6 +471,7 @@ class WebsiteSync(commands.Cog, name="Website Sync"):
|
|||
async def setup(bot: commands.Bot):
|
||||
cog = WebsiteSync(bot)
|
||||
await bot.add_cog(cog)
|
||||
# Enregistre le groupe de commandes json-config
|
||||
bot.tree.add_command(cog.json_config_group)
|
||||
# Enregistre le groupe de commandes json-config s'il n'est pas déjà présent
|
||||
if not bot.tree.get_command("json-config"):
|
||||
bot.tree.add_command(cog.json_config_group)
|
||||
logger.info("Cog WebsiteSync chargé.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue