Closed DamianRyse closed 3 years ago
I believe you can change this line:
To:
Invoke-RestMethod -Uri $WebHookUrl -Body $Body -Method Post -ContentType 'application/json; charset=UTF-8' -Verbose:$false
You can edit the PSM1 file in your installed modules - it would be line 508. Remember to Import-Module PSDiscord -Force
after change.
To fix it. Give it a go and let me know if it works?
It worked like a charm! Thank you!
I still need to fix this in code here :) Or you can make a PR
It seems that special characters and unicode chars such as Emotes are not supported. When I send a String to a Discord Webhook URL which contains special characters, they'are being converted to questionmarks.