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

Add /notifyrank #4858

Merged
merged 1 commit into from
Sep 23, 2018
Merged

Add /notifyrank #4858

merged 1 commit into from
Sep 23, 2018

Conversation

sirDonovan
Copy link
Collaborator

@sirDonovan sirDonovan commented Sep 15, 2018

Currently planned to be used in conjunction with /addrankhtmlbox in Tournaments, but I can see it being useful for other rooms too.

chat-commands.js Outdated
}
},
tempnotifyrankhelp: [`/tempnotifyrank [rank], [title], [message] - Sends a notification to everyone with the specified rank or higher. Requires: # * & ~`],
tempnotifyoffrankhelp: [`/tempnotifyoffrank [rank] - Closes the notification previously sent with /tempnotifyrank [rank]. Requires: # * & ~`],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You would generally make this one Help entry, so /tempnotifyrank and /tempnotifyoffrank would both show both help lines.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, will do.

@Zarel
Copy link
Member

Zarel commented Sep 22, 2018

I'm not sure if the word "temp" needs to be in the command name.

@Zarel
Copy link
Member

Zarel commented Sep 22, 2018

I would maybe add a small note "notification from X" for non-global bots, and tie it to bot permissions.

@Zarel
Copy link
Member

Zarel commented Sep 22, 2018

I believe addhtml is the permission bots have?

@sirDonovan sirDonovan changed the title Add /tempnotifyrank Add /notifyrank Sep 22, 2018
@sirDonovan
Copy link
Collaborator Author

Updated with those changes.

@Zarel Zarel merged commit 49c1e3f into smogon:master Sep 23, 2018
@sirDonovan sirDonovan deleted the notify-command branch December 15, 2019 17:09
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.

2 participants