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

Add action message type #4520

Merged
merged 3 commits into from
Sep 15, 2021
Merged

Add action message type #4520

merged 3 commits into from
Sep 15, 2021

Conversation

JRoy
Copy link
Member

@JRoy JRoy commented Sep 11, 2021

Adds a message type which will show when a player runs the /action (/me) command.

Message Type:

# Configure which Discord channels different messages will be sent to.
# You can either use the names of the channels listed above or just the id of a channel.
# If an invalid channel is used, the primary channel will be used instead.
#
# To disable a message from showing, use 'none' as the channel name.
message-types:
  ...
  # Action messages sent when a player runs the /me or /action commands.
  action: primary

Message Format:

# The following entries allow you to customize the formatting of messages sent by the plugin.
# Each message has a description of how it is used along with placeholders that can be used.
messages:
  ...
  # This is the message sent to Discord when a player runs the /me or /action command.
  # The following placeholders can be used here:
  # - {username}: The name of the user who ran the command
  # - {displayname}: The display name of the user who ran the command
  # - {action}: The action (message) the user used in the command.
  # ... PlaceholderAPI placeholders are also supported here too!
  action: ":person_biking: {displayname} *{action}*"

@JRoy JRoy added type: enhancement Features and feature requests. module: discord Issues or PRs for the EssentialsDiscord module labels Sep 11, 2021
@mdcfe mdcfe enabled auto-merge (squash) September 15, 2021 14:50
@mdcfe mdcfe merged commit d86b471 into EssentialsX:2.x Sep 15, 2021
@JRoy JRoy deleted the feature/me-msg-type branch September 15, 2021 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: discord Issues or PRs for the EssentialsDiscord module type: enhancement Features and feature requests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants