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

Control the bot settings #16

Open
shiningstar0 opened this issue Apr 18, 2023 · 3 comments
Open

Control the bot settings #16

shiningstar0 opened this issue Apr 18, 2023 · 3 comments

Comments

@shiningstar0
Copy link

Hey,
I found your project by chance, and I tried it. It's really cool, and I liked it a lot. But is it possible to customize some of the parameters to work with the programmer's ID, or who has a certain permission, for example?
Make the /chat-gpt-config command only respond to the admin id because everyone can have the api key
And the same thing for the rest of the orders, so that you have the ability to open and close access to the orders.

@firtoz
Copy link
Owner

firtoz commented Apr 18, 2023

That's already possible indeed, if you set the admin id in the Env :) Others cannot see the admin's API key, only their own. Admins have more ability to config things, but I am unsure what you mean by the orders.

@shiningstar0
Copy link
Author

I set the admin id and logged in from another user's discord account and chose the command / chat-gpt-config ---> changee openai api The api key appeared in its own section :(
I meant if there was a possibility to lock all commands (/chat-gpt-config, /chat-gpt-private, /chat-gpt-prompt, /draw-gpt) for the admin ID. The only /draw-gpt command that I could not access He said you don't have permission

@firtoz
Copy link
Owner

firtoz commented Apr 18, 2023

Hmm... are they an admin in the same server? That may be it.

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

No branches or pull requests

2 participants