Reimnop / Discord4Fabric

A beautiful Discord bot client for Fabric
MIT License
37 stars 20 forks source link

Add new "send_broadcasted_messages_to_discord" setting feature #98

Closed ArkoSammy12 closed 9 months ago

ArkoSammy12 commented 10 months ago

This pull request adds the ability to send server broadcasted messages to discord, especially those sent via the /say command. If the broadcasted message has no sender (executed from the console), then the message's format will default to Server: <message>. If webhooks are being used, the webhook's avatar will be that of the Discord bot being used. A respective setting has been added in the Config class as well.

I'm fully open to any suggestions or changes to this PR if deemed necessary :D

Reimnop commented 9 months ago

Thank you for the contribution!