๐ ๏ธconfig.yml
Language
You can edit the messages file using this setting in your config file. Plugin supports english by default, but you can add your custom language by adding messages_<tag>.yml file.
lang: enSpecial Placeholders (Space & New Line)
Because the plugin works command-based, some of the feartures are limited due to commands' behaviour. If you want to parse multi-word arguments to command, you need to replace space with placeholder. You can set the placeholders' values here.
# In case you want to pass multi-word arguments, you need to use this placeholder instead of regular space
# This is because plugin cannot differ between more arguments or one multi-word argument.
# Example: Instead of 'This is test text' you need to use 'This#is#test#text'
spacePlaceholder: "#"
# In case you want to split the line, you can use this placeholder.
# Example: 'Line1:n:Line2'. You can combine it with spaces (see above).
newLinePlaceholder: ":n:"Default Webhook URL
If you don't define webhook, it will use this instead.
# Default webhook used when no-one is defined. Can be set to "NONE", if you don't want default webhook.
defaultWebhook: "https://discord.com/api/webhooks/XXX/YYY"Default Color (RGB)
If no color is defined for the message, this color will be used.
Webhooks
Here you can define your webhooks. You can put there as many as you want. Names are then used in the messages section.
Messages
The point of this plugin is to let servers' administrators to pre-define their own messages and then send them using simple command.
This is the place, where your messages belongs.
If you don't know how embed looks like, you can prepare it using this online tool: https://autocode.com/tools/discord/embed-builder/
Name of the webhook defined in webhooks list.
If you do not want to use embeds and you just need to send regular-looking message, use this option. Please note that other variables except webhookName won't be used!
Color of the message's embed in RGB format.
Description of the message's embed.
URL to the image shown below the embed.
URL to small thumbnail placed into the embed.
inline: whether the field shall be inline
title: title of the field
text: text of the field
You can remove most of the lines if you don't want them! Look at the short_example message!
Last updated