Best way to log chat constantly?

Hi there,

I'd have a question about logging chat. I've got a Server and would like to log the Chat and when a new Message pops up, I'd like to send it over to Discord.

Now there is two problems:
1. The Server is not mine, so I'd have to constantly somehow get the FTP and run a Discord Bot and analyze the Data to send it over to Discord Chat.
What you can see there is firstly that this will be heavy uploading / downloading cost and secondly, my Computer will be forced to stay open 24/7 as well.
2. I don't know of a way to properly transfer files or to save files onto administrator grouped users.

I'm advanced in C# programming and also am pretty OK with Unity, so I think of writing a Plugin.
A question is whether I can implement a Discord Bot into a plugin: This would make a lot easier since I can just handle everything from the Plugin.

If possible, I'd like to get some advices on how I might solve stuff like this. I've heard some stuff about webhooks, but no idea how these work. Might these be more helpful in this case? I'd be glad for any kind of help.

If my question is not described well enough, please ask and I'll try to answer them.

Thank you very much.

I have something that does this. PM me if interested.

Edit: Totally free, waiting on plugin approvals.
In response to MrPoundsign ():
I have something that does this. PM me if interested.

Edit: Totally free, waiting on plug...
Alright, done. Thank you :)
In response to SlyStone ():
This works flawlessly: https://umod.org/plugins/discord-messages
They are using this plugin; Unfortunately it doesn't support console chat messages, as far as I can tell. And the HandleMessage method needs an IPlayer. 

Does anyone know how to get an IPlayer for the console in OnServerMessage? I tried creating an IPlayer with the Name "SERVER", but it's just an interface.
In response to MrPoundsign ():
They are using this plugin; Unfortunately it doesn't support console chat messages, as far as I can...
There is no player at all in OnServerMessage.
In response to Wulf ():
There is no player at all in OnServerMessage.
Indeed. I was just curious if there's a way to make something with a fake IPlayer interface that would work well enough to send the message.
In response to MrPoundsign ():
Indeed. I was just curious if there's a way to make something with a fake IPlayer interface that wou...
Why would you our need a player for it? It is from the server itself, not a player.
In response to MrPoundsign ():
Indeed. I was just curious if there's a way to make something with a fake IPlayer interface that wou...
Looks like using `API_SendTextMessage` is the best option.
In response to SlyStone ():
This works flawlessly: https://umod.org/plugins/discord-messages
Thank you, checked into it and using it.

Merged post

Created a new Extension to Discord-Messages which gets the SERVER Messages and posts these in Discord. I'll upload the Plugin in case other users might find the same trouble and would like to use it. The thread can be closed if that is possible.