Comments (5)
You could also unload the commands and use an array of their names to keep track of which are disabled.
from advanced-command-handler.
Yes but I mean : when you're creating a command you want that only the devs can use it.
But if we use the OwnerOnly Tag, using an help command on this command that give informations like if it's owner only etc can't know if it's a command disabled or a full time OwnerOnly
from advanced-command-handler.
You can also do this with what I said before.
Also : In v3 all commands will have to be subclasses of the Command class, so you could add the property to some commands and check when required if the property exists and is set to true
for example.
from advanced-command-handler.
Close the issue if my response resolves your suggestion ^^
from advanced-command-handler.
Re-open if you want to discuss more about this.
from advanced-command-handler.
Related Issues (20)
- Application commands.
- [QUESTION] Configuration HOT 8
- Bot not responding to commands HOT 7
- guildCreate event is not sending messages HOT 8
- Not working HOT 1
- 'Channels' option in commands options HOT 6
- CommandHandler.launch({}) returns an error HOT 6
- Putting not existing permissions in commands throw an error HOT 2
- Specific NSFW HOT 1
- How can I make an reaction event? HOT 2
- Error when loading commands. HOT 12
- Add patch note to update HOT 1
- isOwner function is not a function HOT 2
- Help command in the default commands HOT 2
- Owner bypass HOT 4
- Add typings for TS HOT 2
- Wrong place for the dayjs export after compilation
- Can't launch in v3.0.0-beta.3
- The bot does not respond to commands - 2021 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advanced-command-handler.