modmailbot
modmailbot copied to clipboard
Option to exclude name completely
[enhancement]
Can we please have an option to exclude Name:
or Moderator:
from messages to members all-together?
Good idea, added to the TODO!
Thank you In the meantime, if there is any easy way to do so by modifying the code until this option is created, would you mind sharing?
If you open src/data/Thread.js
, you can change line 52 from:
let dmContent = `**${modUsername}:** ${text}`;
to:
let dmContent = text;
This should send all replies without a name (while still keeping the name in logs and on the moderator side).
Thank you
Seconded! Though I do think this should be both a command and a config option, so you have the option to do it as desired rather than all the time.
My plan right now is to introduce a new reply type (nameless reply), and then allow you to set the default type you'd like to use. This would basically be an extension of #97. Might even look into being able to specify a custom format.
@Dragory if we change this and we have always anon, will it always show as what I set up here?
let dmContent = `**Staff:** ${text}`;
any news on this?
are we ever doing this?
It's been possible for a while now: https://github.com/Dragory/modmailbot/blob/master/docs/commands.md#anonreply-text--ar-text
It's been possible for a while now: https://github.com/Dragory/modmailbot/blob/master/docs/commands.md#anonreply-text--ar-text
i set my anonymous snippet command as the same as my regular commands and it doesnt work. also when i set my anonymous snippet command to something totally different then write a response using alwaysReply it doesnt send guys, everyone wants it to be anonymous without roles or a name by default. why cant we just do that
unhoist all roles in your staff server and replies won't have role prefixes, since it looks for your highest hoisted role to determine your default prefix
unhoist all roles in your staff server and replies won't have role prefixes, since it looks for your highest hoisted role to determine your default prefix
it's not about role prefixes it literally shows the staff member name
the fix above worked for a while but now i cant do that fix unless there is a new way to do that fix in the latest version
im trying to make all the commands the same and default to anon for everything but it doesnt work
and even when i go 'ok fine these people really dont like anon with this bot, lemme try -
as my anon snippet prefix, someone uses -
then they try to type a reply and it doesn't go through. is there a fix like the above that worked for me in earlier versions that i can apply to this latest version?
{
"attachmentStorage": "discord",
"updateNotifications": false,
"alwaysReply": true,
"alwaysReplyAnon": true,
"autoAlert": true,
"fallbackRoleName": "staff",
"useNicknames": false,
"allowInlineSnippets": false,
"enableGreeting": false,
"prefix": ".",
"typingProxy": true,
"typingProxyReverse": false,
"threadTimestamps": true,
"status": null,
"pingOnBotMention": false,
"allowMove": true,
"snippetPrefix": ".",
"snippetPrefixAnon": ".",
"mentionUserInThreadHeader": true,
"rolesInThreadHeader": true,
"threadTimestamps": true
}
Is there any fix for this? it still shows the staff member's name when sending snippets and there is no choice to not include roles what-so-ever. any work-around?
!ar {{snippet}} should work, no?
On Thu, Sep 2, 2021, 9:30 AM Danny Michel @.***> wrote:
Is there any fix for this? it still shows the staff member's name when sending snippets and there is no choice to not include roles what-so-ever. any work-around?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Dragory/modmailbot/issues/107#issuecomment-911860364, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKC3PP7SAA4CXD264UVTGDT76RA5ANCNFSM4FMWCDWA .