You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,4 +50,44 @@ You can use placeholderAPI placeholders in the messages in the config by doing:
50
50
51
51
> Note: This only works in the `config.yml`
52
52
>
53
-
> This will not work for messages in the `locale.yml`
53
+
> This will not work for messages in the `locale.yml`
54
+
55
+
### Webhook Support
56
+
57
+
Using v2.5.0 or higher, you can use Webhooks as a way to log messages sent via SimplePMs. Previously you may have used DiscordSRV to log SimplePM messages to Discord.
58
+
59
+
By default the `config.yml` offers these options:
60
+
61
+
```yml
62
+
###
63
+
# This adds Webhook Support focused for Discord
64
+
###
65
+
webhook:
66
+
enabled: false
67
+
url: ""
68
+
# This is the JSON Body to send to the webhook.
69
+
# The default value is modeled after https://docs.discord.com/developers/resources/webhook#execute-webhook
70
+
# These are the placeholders that can be used:
71
+
# <sender>: Sender's Username
72
+
# <sender_display_name>: Sender's Display Name (Nickname), Non-players will have the same name as <sender>
73
+
# <sender_uuid>: Sender's UUID, formatted as xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, this is blank for non-players.
74
+
# <recipient>: Recipient's Username
75
+
# <recipient_display_name>: Recipient's Display Name (Nickname), Non-players will have the same name as <recipient>
76
+
# <recipient_uuid>: Recipient's UUID, formatted as xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, this is blank for non-players.
0 commit comments