Add [p]diagnoseissues command (#5243)

* Split `Requires._transition_state` into reusable methods for Diagnoser

* (style) Fix line length

* Add missing .format()

* Add handling for user permissions, privilege level, Permissions rules

* Add missing awaits, use correct method in user perms check, add 'the'

* Fix .format() fields

* Add comment

* Add new file to labeler's configuration

* Add the command to the documentation

* All the work from DiagnoserCog

You can find the commit history of it here:
https://github.com/jack1142/DiagnoserCog

* Fix circular import

* Make channel argument optional

* Add a tip about channels from different servers
This commit is contained in:
jack1142
2021-09-05 19:01:46 +02:00
committed by GitHub
parent d84c8efa34
commit 86649e897f
5 changed files with 1069 additions and 14 deletions

1
.github/labeler.yml vendored
View File

@@ -27,6 +27,7 @@
# Source
- redbot/*
- redbot/core/__init__.py
- redbot/core/_diagnoser.py
- redbot/core/_sharedlibdeprecation.py
- redbot/core/bot.py
- redbot/core/checks.py