IgKnite icon indicating copy to clipboard operation
IgKnite copied to clipboard

[FEATURE] Implement logging

Open ultralegendary opened this issue 1 year ago • 1 comments

Description

Summary

Implement logging to log the errors which occurs when processing commands.

Purpose

This will provide us visibility to backtrack and debug the issue when any command produce some error in production.

Proposed Idea

Ideally, log the error to a discord channel(this should be configurable by the owner from the commands) is highly efficient compared to logging to a file or the terminal where the bot runs in this case.

What to include

Logging should include the information:

  • time
  • command passed
  • values for the commands(if any)
  • user who used the command
  • any other field that is relevant

Screenshots

No response

Additional information

No response

ultralegendary avatar Oct 02 '24 18:10 ultralegendary