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

Listing commands per guilds #7

Open
ririko5834 opened this issue Apr 2, 2021 · 7 comments
Open

Listing commands per guilds #7

ririko5834 opened this issue Apr 2, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@ririko5834
Copy link
Contributor

Hi, can you add that when there are some guild based commands registred, there will be guild picker for that guilds in settings?

@Androz2091
Copy link
Owner

Hello, you can already enter a guild ID right?

@Androz2091 Androz2091 added the help wanted Extra attention is needed label Apr 2, 2021
@ririko5834
Copy link
Contributor Author

Yes, but when you don't remember for what guilds you registred slash commands and want to delete it. There should be something to get list of all registred slash commands and manage it

@Androz2091
Copy link
Owner

I don't think there is an endpoint to get all the commands in all the guilds. Or we would need to loop over all the guilds to get their commands, but I don't think it is a good idea 🤔

@Androz2091 Androz2091 added enhancement New feature or request and removed help wanted Extra attention is needed labels Apr 4, 2021
@danshilm
Copy link

Is it possible to have a dropdown with the guilds that the bot is in?

@Androz2091
Copy link
Owner

We would need the bot's token instead 🤔
Maybe yes even if it's not as secure as an oauth token, it's better to provide token authentication

@ririko5834
Copy link
Contributor Author

ririko5834 commented May 21, 2021

You should make that you can use client secret or bot token. Because someone also me have oauth application for slash commands without bot Only if you are using bot token, dropdown of guilds should be visible

@Peter-MJ-Parker
Copy link

As the bot joins a server, save the guild name and guild id to a json file or database so you don't have to worry about it. Use a function to get the specific guild you want to use it for and pull into the command.

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

No branches or pull requests

4 participants