Spoiler Tag Role Permission
As with the new and fancy spoiler tags being released, it has quickly come clear that this feature can be very abusive. Members are easily able to create a huge black rectangle using this new feature.
Of course, this could be something a moderator of the server could take care of, but the ability to control whether users can use these spoiler tags as a permission within a role would be a fine and dandy way to solve any problems with unnecessary uses of these spoiler tags.
-
If users want to spoiler tag letter by letter, in my view that's their prerogative. If it's annoying, then warn them about violating your server rules. I'd hate for someone to auto-combine my boldface text if I'm only trying to tag a word here and there in a sentence for emphasis. I don't see an auto-spoiler-tag-joining system that can be smart enough to distinguish between "user being annoying" and "vital-to-conceal spoiler-phrases within context of larger sentence" - not even humans can do that reliably all the time, so it'd be up to the writer and readers to decide how to respond.
A more appropriate feature for this problem might be granting admins permission to edit users' posts. But then again, at least on my server, the simpler and more effective solution is to address the behavior, not the spoiler function.
-T
0 -
There was some discussion earlier talking about a client-sided setting, perhaps in the Appearance section within the User Settings, which the idea was that with this option enabled, all spoilers seen by the member are automatically opened.
This is a great suggestion, which I highly support, so thank you for that comment.
2 -
So my suggestion for the client side option to show all spoilers by default was claimed to be a duplicate of this and closed.
It is clearly a separate suggestion which would not be covered by the feature suggested in this.
Title: Option to disable spoilers client side
Body: Option that when turned on makes spoilers visible by default
4 -
@Togusa Understandable. I suppose at some point, if at all, there could be an option to auto-moderate multi-spoiler comments using Dyno. Although at the same time, I just don't see a reason to use more than 5 spoiler markdowns per post.
0 -
For anyone looking for a way to make spoilers show by default, it has been added under the Text & Images section on desktop. Currently not on Android, don't know about IOS but doubt it.
2 -
You can play a game with it. Make field of same emote except one. Then search it.
0 -
I would love it if we had options like
- channel settings: disable spoilers in a specific channel (or group of channels)
- user settings: automatically reveal all spoilers to me (toggle on or off)
Moderating a server of a lot of people is much more difficult if everyone uses spoilers.
On my server, we have promptly decided to "disable" spoilers with our bot, because they make moderation difficult. (We auto-delete messages that contain spoilers and post a reminder that we disabled spoilers here.) It's kinda a workaround. If people could just toggle spoilers in a channel or for themselves, we could still moderate at ease, seeing all spoilers' contents without clicking on them, and we wouldn't need to use our bot to work around this issue.0 -
Must needed change.
People are overly using this feature, making it just a painful experience for others. I don't even know why this was implemented, I've never really seen anyone asking for this, but that's besides the point.
We need role permissions for this feature. Can't wait to disable it for @everyone ASAP
-1 -
good idea
0 -
It is also really annoying that spoilers often reset on new messages and always reset when switching channels
-1 -
bump
A client-sided setting was added to the Text & Images section, with it being set to "On click" by default.
You can now modify it so it will reveal all spoilers automatically on the client's side.1 -
Or only roles will be able to see spoilers, depending on server settings.
Maybe people can pick certain roles to be able to see spoilers, they could type for example "||@mod hey kick this guy||" and only mods will be able to read the message
0 -
I do agree that it could be disabled in specific channels, but in User Settings (on non-mobile devices), in the Text & Images section, there's a way to change your personal spoiler settings. Just scroll down and you should see this:
P.S. It's already been suggested to add these settings to mobile devices, so if you want, you can go over and upvote it.0 -
I agree, good idea.
0 -
Just have your moderator bot delete messages with spoilers in them unless the person has a particular role (stopgap).
I have a bot do the same thing for links to other discord servers.0 -
People are abusing and using it per letter, which makes it really hard on big servers to mod. This really is a must.
0 -
I agree there should be an option to set permission to spoilers. It might be a cool feature. but people will abuse it and things will get out of control real quick.
0 -
Can a bot even do that? I'm not sure bots can pick up special text like itallics with the astrics and stuff like that though since they are not directly in the viewable message
0 -
A moderator closed the request at https://support.discordapp.com/hc/en-us/community/posts/360040209831-Spoiler-toggle as being the same issue, but clearly these are completely different issues.
Still, since the decision was made, I'll follow up here:
I think the best solution for allowing re-hiding of spoilers is to change how they'r revealed: Make spoilers visible when selected, as tvtropes.org and similar sites do.
This will solve the moderators' problem of having to click every single spoiler tag, for users who insist on using them for every word or every letter of a post, and make it much easier for moderators to review posts for objectionable content.
In addition, it allows easy re-hiding of spoilers: Just de-select the text.
0 -
Looks like an alternative has already been implemented for PC:
https://support.discordapp.com/hc/en-us/articles/360022320632-Spoiler-Tags-
You can now disable spoilers account-wide. I'm guessing this will also be coming soon to other platforms.
0 -
Yes, a bot can do that. Just check if the message contains the character sequence "||" more than once.
0 -
This feature is basically just a new way to spam and bypass filters. As an administrator of the PUBGM server, this feature has been the most reported form of spam since it's release. By implementing this counter-feature, they would also be granting us server moderators the ability to control any markdown text (as spoilers would now fall into that category). Personally i'd prefer to control each markdown format separately, if that's possible.
0 -
thats what i am saying is that idk if that is like that, because it can't see commands if u put a \ infront of it and it can't see if there is * in an italics
0 -
Yeah, it is becoming quite annoying people doing it ||l||||i||||k||||e|| ||t||||h||||i||||s||
0 -
Togusa, although you say that, it is not defaulted to 'always'. The issue I had in a server I staff, is that people were constantly using spoilers even though we did not want them to. It is not a case of us moderating and having to click individually on each message, it is the fact that we did not want spoilers spamming our chat because it seems more like spam.
0 -
In our server, such behavior could be flagged as violating our server rules, and the person would be warned, kicked, or banned, depending on how far along they were in our progressive discipline system. I guess it's harder to administer such sanctions on the server you're referring to.
-T
0 -
in the
bot.on('message', ...);
function, your bot sees a message object in its plain form.
If you typed "Hey, this is italics and this is bold", your bot will read message.content as "Hey, this is *italics* and this is **bold**". With spoilers, what the user sees as black box to click on, the bot actually reads at "hey, this is a ||spoiler||"What you're saying is that the bots you use cannot see a command if you put a \ in front of it, because they are programmed that way. Program them differently, and they can see commands like these too. A bot can detect italics, bold, spoilers etc. if its programmer programmed the bot to detect it.
A bot can react onto detecting things like spoilers, if it is programmed to react because of it. It cannot make the spoiler visible for others, just like you cannot make the spoiler visible for anyone except yourself. It can not change another user's message, just as you cannot edit another user's message, even with Admin rights.
However, a bot can delete another user's message if the bot has the permissions to do so. Just like you can delete another user's message if you are a moderator or an admin with the necessary permissions.So, yes, it is possible to program a bot that detects spoilers and then deletes messages which contain a spoiler.
That does not mean that the bots you currently have on your server have this functionality. It means that maybe some public bot out there has that functionality, and that certainly, private bots out there have the functionality. (Mine does.)Just as a bit more proof, here's an actual piece of code in JavaScript that could make your bot delete messages that contain spoilers.
bot.on('message', message => {
let msg = message.content;
// regular expression matching, checks for any "||" in your message
let match = msg.match(/\|\|/g);
// if there was a "||" and then if we have more than one match for "||"
// we detected a spoiler!
if (match && match.length > 1) {
message.delete(); // needs permissions to delete the message!
message.reply("Sorry, we don't allow spoilers here.");
}
});0 -
Just to reinforce, this is not hard for a bot to do. In a popular (Python based) bot architecture, Red, it would be done thus:
async def listener(self, message):
if re.search(r'||.+||',message.content, flags=re.DOTALL) is not None:
await self.bot.delete_message(message)
It is literally as easy as that. Bot writing is not hard.0 -
but that is creating your own bot not using something like dyno which is easier since some of us just don't know how to use code
0 -
There should be a way to disable spoilers client side on specific servers.
0
Please sign in to leave a comment.
Comments
66 comments