Feature Request: The option for pings to work as "and" instead of "or" (in terms of if statements).
I have a suggestion for a feature that I feel would be a fantastic addition to Discord and would solve a lot of role-related problems.
Let me give you an example. We've run into an issue where sometimes, organizing games with people across the globe can be difficult because they're in a different time zone than us. When we ping the game's role, it pings everyone with the role, whether they're in the same region as us or not. When we ping the region's role, it pings everyone with the role, whether they own the game or not. This can be a problem because it means that in either scenario, some people will be unnecessarily pinged, and as you can expect, it can get pretty annoying. This is only one such instance where this problem can arise. I propose a simple solution.
Sample pseudo-code to showcase my idea:
//The way it currently works. Pings people with either role.
if (role == @gameName || role == @northAmerica) { // "or"
ping();
}
//An option we should have. Pings people with both roles.
if (role == @gameName && role == @northAmerica) { // "and"
ping();
}
I propose that we get some sort of syntax so we can gain the ability to ping members that have two (or more) certain roles. Basically, we get the option to treat our pings with the equivalent of an "and" operator from coding.
For example, if I type in chat something like: "@North America && @Minecraft && @Regular", it should ping only those who have the North America role, the Minecraft role, and the Regular role. This would minimize the number of people getting pinged while giving us control over who we get to ping.
As stated at the top, this is a common issue when it comes to roles. I hope this feature gets added. It would be extremely helpful.
Thank you.
โปรด ลงชื่อเข้าใช้ เพื่อแสดงข้อคิดเห็น
ข้อคิดเห็น
0 ข้อคิดเห็น