modmailbot icon indicating copy to clipboard operation
modmailbot copied to clipboard

Option to exclude name completely

Open chnaski opened this issue 6 years ago • 17 comments

[enhancement] Can we please have an option to exclude Name: or Moderator: from messages to members all-together?

chnaski avatar Jul 29 '18 18:07 chnaski

Good idea, added to the TODO!

Dragory avatar Jul 29 '18 18:07 Dragory

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?

chnaski avatar Jul 29 '18 18:07 chnaski

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).

Dragory avatar Jul 29 '18 18:07 Dragory

Thank you

chnaski avatar Jul 29 '18 18:07 chnaski

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.

Ragnarok345 avatar Aug 10 '18 04:08 Ragnarok345

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 avatar Aug 10 '18 11:08 Dragory

@Dragory if we change this and we have always anon, will it always show as what I set up here? let dmContent = `**Staff:** ${text}`;

xJustxMegx avatar Sep 02 '18 16:09 xJustxMegx

any news on this?

chnaski avatar Jul 08 '19 19:07 chnaski

are we ever doing this?

dannymichel avatar Sep 18 '19 05:09 dannymichel

It's been possible for a while now: https://github.com/Dragory/modmailbot/blob/master/docs/commands.md#anonreply-text--ar-text

mesub7 avatar Sep 14 '20 17:09 mesub7

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

chnaski avatar Jul 31 '21 15:07 chnaski

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

JetCrooked avatar Jul 31 '21 16:07 JetCrooked

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

chnaski avatar Jul 31 '21 16:07 chnaski

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

chnaski avatar Jul 31 '21 16:07 chnaski

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
}

chnaski avatar Jul 31 '21 17:07 chnaski

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?

dannymichel avatar Sep 02 '21 16:09 dannymichel

!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 .

JetCrooked avatar Sep 12 '21 00:09 JetCrooked