DenisD3D / Mc2Discord

Link your Minecraft server chat with your Discord (75k downloads)
https://modrinth.com/mod/mc2discord
Apache License 2.0
43 stars 11 forks source link

[Suggestion] Add option to mention a person/role in messages #113

Open notlet opened 2 months ago

notlet commented 2 months ago

When the bot sends a message, it automatically disables all mentions. It would be nice if there was a variable to add a mention that actually mentions people, for example when the server starts up the bot automatically pings a role so people know when it's up.

image

Also, whenever people get mentioned in the bridge channel, the mention also works in the log channel, which results in a double ping for people with access to both.

image

DenisD3D commented 2 months ago

You can configure the allowed mention in the configuration file :

[Misc]
# List of allowed mentions from minecraft (supported value: "EVERYONE_AND_HERE", "ROLE", "USER")
allowed_mention = ["ROLE", "USER"]

Are thoses configuration enough for your use case ? Also you might be able to supress ping for a specific channel in your Discord client setting. I will try to disable ping for logs message in the next version

notlet commented 2 months ago

You can configure the allowed mention in the configuration file :

[Misc]
# List of allowed mentions from minecraft (supported value: "EVERYONE_AND_HERE", "ROLE", "USER")
allowed_mention = ["ROLE", "USER"]

Are thoses configuration enough for your use case ?

That would also allow people on the server to spam mass ping, so I don't think so.

Also you might be able to supress ping for a specific channel in your Discord client setting. I will try to disable ping for logs message in the next version

It still leaves a really annoying red ping image