Skip to content

Close Message Update

Compare
Choose a tag to compare
@Taaku18 Taaku18 released this 15 Nov 02:19
· 1482 commits to master since this release

What's new?

Added the ability to change the default close message via the introduction of two config variables.

  • thread_close_response - when someone closes the thread.
  • thread_self_close_response - when the recipient closes their own thread.

They will be provided by string variables that you can incorporate into them:

  • closer - the user object that closed the thread.
  • logkey - the key for the thread logs e.g. (5219ccc82ad4)
  • loglink - the full link to the thread logs e.g. (https://logwebsite.com/logs/5219ccc82ad4)

Example usage would be: ?config set thread_close_message {closer.mention} closed the thread, here is the link to your logs: [**`{logkey}`**]({loglink})