discord-modmail / modmail

A Modmail bot for Discord. Allowing safe moderator conversations with server members one server at a time.
https://discord-modmail.readthedocs.io/
MIT License
15 stars 8 forks source link

feat: debugger module for dumping logs in guild #124

Open onerandomusername opened 2 years ago

onerandomusername commented 2 years ago

Add a small debugger cog for debugging bot issues.

Adds a dump command for logs (which doesn't work right now...) and a log command to paginate the last 100 lines of logs.

This should be useful when having to troubleshoot problems, as a user won't need to access the console for every error.

Shivansh-007 commented 2 years ago

I don't see the need for this.

onerandomusername commented 2 years ago

This is aimed more for consumers, to help troubleshoot when something goes wrong.

Shivansh-007 commented 2 years ago

Viewing those logs in your terminal/editor is much more helpful than viewing them on discord... so I don't see how that helps.