Basic logging #43
Labels
No labels
bug
config update
documentation
duplicate
enhancement
in dev
input needed
new feature
not in draft
refactor
waiting on docs update
wont-do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Sirdog/EnduraBot#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Desired functionality is that EnduraBot performs very basic logging functionality for moderative purposes.
/editrole.Each of the 3 logging functions should be configured to either be on or off in
variables.json.It appears that the relevant Discord events -
on_message_deleteandon_message_edit- only give a bot access to messages which were created during the bot's uptime. If the bot shuts down or reboots, this cache is wiped, and edits or deletions to messages prior to this reboot/shutdown will not be detected.There are alternative events, such as
on_raw_message_delete, but testing simply confirmed what I suspected: for true message deletion and edit logging, a persistent storage solution would be necessary (e.g a database), that way the bot always has access to relevant message data when using the aforementioned events.Persistent storage of any kind at time of writing is outside the scope of this bot's features. Plenty of bots made by people far more knowledgeable than me, and making money doing it, exist if EDC wants this functionality.
Closing.