EQUENOS / dislash.py

A Python wrapper for discord slash-commands and buttons, designed to extend discord.py.

Home Page:https://dislashpy.readthedocs.io/en/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unregistering a slash command at runtime?

Xenos6666 opened this issue · comments

In the bot I'm making I need to create and delete commands on the fly, registering them in the API is easy but I don't know how to handle the dislash part, it seems I can create CommandParent instances and such but I don't know how I would go about deleting them.

Nvm, I didn't notice there was a hook to handle slash commands in general cases, sorry.