discord-csharp / Contacts

Your friendly neighborhood C# Discord server bot
MIT License
7 stars 3 forks source link

Logging #1

Closed mastorm closed 7 years ago

mastorm commented 7 years ago

We need some sort of logging for the future. That could happen in a channel thats not accessible to the general public.

The bot should:

Ideas appreciated

ObsidianMinor commented 7 years ago

For deleted messages, I might be able to find who deleted the message

mastorm commented 7 years ago

@deccer well, as its stated above, this logging stuff will not reach general public. Growth is something that i personally care about alout

mastorm commented 7 years ago

So you want to protect me from getting frustrated about leaves? :D

jmazouri commented 7 years ago

It may be more viable to store the messages for retrieval later, instead of dumping everything into the log channel automatically.

Then you could create a log query command, something like /log 11/20/2016 to 11/25/2016 to get data for the week or /log 30 minutes for the last half hour. You could potentially implement keyword search of messages, filter by user, event type, etc, as well.

mastorm commented 7 years ago

well, if we have data storage, ^this

MarkusG commented 7 years ago

@ObsidianMinor unfortunately the Discord API doesn't give who deleted the message. Only who's message it was.

ObsidianMinor commented 7 years ago

welp there goes my master plan

ObsidianMinor commented 7 years ago

Logging been added