DiscordSRV

DiscordSRV

86.8k Downloads

Add ability to block new lines in messages sent from Discord to in-game chat.

jwkerr opened this issue ยท 1 comments

commented

Why?

Players can spam chat like this.
image

What and How?

I might be missing something obvious but I couldn't find any way to block new lines or remove them with regex in the config, after a change I imagine you should be able to toggle new lines from doing anything or not, I think new lines should be disabled by default.

Are there alternatives?

Ability to add regex to block messages posted in Discord showing in the in-game chat would work (if that isn't a feature I just haven't noticed) but it has the downside of being harder for users to understand.

Checks

  • I have used the search at least once to check if my idea has already been suggested and perhaps already implemented.

Anything else

No response

commented

Change this option in config.yml:

DiscordChatChannelDiscordFilters: {"\\\n": " "}