Replies: 7 comments
-
I have noticed @utf-4096 opened a PR to completely remove this option. |
Beta Was this translation helpful? Give feedback.
-
An easily accessible option like this (which is enabled by default) incites users to keep a message. Like I said in my PR, bots should not send messages that a user didn't ask for. Bots that do this will be banned anyway, so keeping this option doesn't do much good. |
Beta Was this translation helpful? Give feedback.
-
It seems to me that we should not remove the option, but mark it as deprecated and instead of sending the message, inform people about this general rule. |
Beta Was this translation helpful? Give feedback.
-
I think this is common sense, regardless we already tell people not to do this whenever we notice it.
I don't understand the point of keeping an option that will make your bot get banned, but... |
Beta Was this translation helpful? Give feedback.
-
I meant that I will mark the option as deprecated in the docs, and make it stop working. |
Beta Was this translation helpful? Give feedback.
-
OK, sounds good. |
Beta Was this translation helpful? Give feedback.
-
Changes released in |
Beta Was this translation helpful? Give feedback.
-
The
welcomeMessage
option has been around for a long time now and to this day has a default.For anyone who doesn't know, this is the default:
Hi there! I'm ${client.name}. Send ${client.mainPrefix}help for a list of commands.
This default will be used when
options.welcomeMessage
isnull
orundefined
and the user is marked as a bot and has at least one prefix.@nolanwhy told me utf doesn't seem to agree with this, and I think we should discuss on whether we should keep this or not.
To understand why this option has a default at all, we need to go back some time.
I needed to know the client's session ID to be able to block the current user so commands like
!repeat !repeat !repeat
wouldn't work, but wasn't passed in theauth-complete
event yet, so I had to find a hacky workaround that involved sending a welcome message that we would then see and grab the session ID of.Beta Was this translation helpful? Give feedback.
All reactions