Dragory/modmailbot

greetingMessage does not work in configuration

mesub7 opened this issue · 0 comments

Summary: The greetingMessage configuration option does not seem to work when added to the config.ini file of the bug.

This bug has been mentioned before, but not officially documented.
Steps to reproduce:

  1. Add
enableGreeting = on
greetingMessage[] = Welcome to the server!
greetingMessage[] = Remember to read the rules.

to your config (any other message can be used in greetingMessage),

  1. Save your config and restart the bot.
  2. Have a new member join the main server.

Expected result: The bot should send a message to the user, provided that they have their DMs open to server members.
Actual result: The bot does not DM the member at all.

System details: Modmail 3.6.1 on NodeJS 16.16.0 (x64 Windows 10) - it has been broken for a few verisons now, however.

Recommended workaround: Use the serverGreetings configuration option, which appears to be unaffected by this bug.