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

Allow multiple users access #21

Open
cheesits456 opened this issue Aug 31, 2021 Discussed in #17 · 2 comments
Open

Allow multiple users access #21

cheesits456 opened this issue Aug 31, 2021 Discussed in #17 · 2 comments

Comments

@cheesits456
Copy link
Owner

Discussed in #17

Originally posted by BeltoAlex April 30, 2021
Is there a way that I can allow multiple users to type commands into the channel?

Right now the other users can access the text channel and type messages into it, but the bot doesn't recognize their commands.

Could i add multiple ids to 'owner' in the config, or some new field to list their ids?

@Grim-reap3r
Copy link

Hello.

Any update on that ?

@NachoPicchu
Copy link

@Grim-reap3r If you're feeling particularly brave, you can remove line 61 (process.exit();) and the "&& msg.author === client.config.owner" part of line 45 of the script.js script.
This will make the script accept commands from any discord user with access to the specified channel.
Be advised that at the very least you should be very conservative with managing discord access to the channel you specify.
A "more secure" solution might be using a different (selfhosted/private) bot that sends predetermined text messages when reacted to and specifying that bots ID in config.js.

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

3 participants