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

Let the GuildID property be an array #16

Closed
DavichoStar opened this issue Jan 16, 2021 · 1 comment
Closed

Let the GuildID property be an array #16

DavichoStar opened this issue Jan 16, 2021 · 1 comment
Labels
type: enhancement New feature or request

Comments

@DavichoStar
Copy link

By placing this property as a matrix, you could create commands for X number of servers and not have to create a file for each server command if it will be the same. This can be solved in a number of ways, but it would be very useful if it could be placed directly in the GuildID property.
For example:

{
    name: "premium",
    description: "Special command for 5 servers",
    guildID: ["ID1", "ID2", "ID3", "ID4", "ID5"]
}

This would also be useful when testing global bot commands where you have two or more servers to test on.

@Snazzah Snazzah added the type: enhancement New feature or request label Jan 16, 2021
@Snazzah
Copy link
Owner

Snazzah commented Jan 24, 2021

Possible, would have to rework command finding a bit during interaction. Might do it later on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants