Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord: Add support for Mentions #455

Merged
merged 5 commits into from
Feb 27, 2024
Merged

Conversation

thijsvanloef
Copy link
Owner

Context

Fixes #300

Changing the way the Discord messages are built, Allowing you to add a user ID to the discord message to mention people or roles.

Choices

Move the message from the Title to the description and add the script name as a title.

Test instructions

  1. Build the container
  2. Set DISCORD_WEBHOOK_URL and change any of the MESSAGES (e.g. DISCORD_PRE_START_MESSAGE) to include a mention using <@user_id>
  3. Check if you are mentioned in the Discord Channel

Checklist before requesting a review

  • I have performed a self-review of my code
  • I've added documentation about this change to the README.
  • I've not introduced breaking changes.

@thijsvanloef thijsvanloef self-assigned this Feb 26, 2024
@thijsvanloef thijsvanloef added the enhancement New feature or request label Feb 26, 2024
@thijsvanloef thijsvanloef changed the title Add support for Mentions Discord: Add support for Mentions Feb 26, 2024
@thijsvanloef thijsvanloef merged commit 2066bf0 into main Feb 27, 2024
10 checks passed
@thijsvanloef thijsvanloef deleted the add-support-for-mentions branch February 27, 2024 16:54
MusclePr pushed a commit to MusclePr/palworld-server-docker that referenced this pull request Jun 19, 2024
…-mentions

Discord: Add support for Mentions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Discord Webhook: add support for mentions
2 participants