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

chat_cmd new parameter requireAdmin #53

Merged
merged 1 commit into from Jun 26, 2020
Merged

Conversation

davidp57
Copy link
Contributor

@davidp57 davidp57 commented May 3, 2020

Rewrote the chat_cmd to make it accept a new parameter : requireAdmin.
When requireAdmin is true, if the text was found in the chat, the flag will be set if and only if the chat message was sent by a SLMOD admin.

Rewrote the chat_cmd to make it accept a new parameter : requireAdmin.
When requireAdmin is true, if the text was found in the chat, the flag will be set if and only if the chat message was sent by a SLMOD admin.
@davidp57
Copy link
Contributor Author

davidp57 commented May 3, 2020

I use this new feature to connect chat commands with commands in my scripts, and for some of these commands I want that only the administrators be able to enter it.

@davidp57
Copy link
Contributor Author

davidp57 commented May 3, 2020

@mrSkortch mrSkortch merged commit 9388127 into mrSkortch:develop Jun 26, 2020
@mrSkortch
Copy link
Owner

Good idea.

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

Successfully merging this pull request may close these issues.

None yet

2 participants