Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The disable and enable commands doesent work #4

Open
Hab3925 opened this issue Sep 30, 2020 · 0 comments
Open

The disable and enable commands doesent work #4

Hab3925 opened this issue Sep 30, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Hab3925
Copy link
Owner

Hab3925 commented Sep 30, 2020

Its all a mess at the moment, the database uses a string containing an array of objects containing the channel and command name.

Structure example:

[
    { channel: "channelID", command: "help"}
]

However the way theese are loaded and checked doesent work whatsoever. And the way they are uploaded to the database is really poorly designed. Could perhaps redo the system using enmap.

The idea is that you have two commands, disable and enable that can disable and enable one or more commands in one or all channels. A disabled command cant be used in said channel.

@Hab3925 Hab3925 added the bug Something isn't working label Sep 30, 2020
@Hammer1279 Hammer1279 self-assigned this Sep 30, 2020
@Hammer1279 Hammer1279 assigned Hab3925 and unassigned Hammer1279 Oct 26, 2020
Hab3925 pushed a commit that referenced this issue May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants