Rewrite Teapot.py to support latest version of discord.py #99
Quality Gate passed
Annotations
Check failure on line 4 in teapot/event_handler/sao_handler.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 29 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZmOp1CDTC8QxoqcdrEx&open=AZmOp1CDTC8QxoqcdrEx&pullRequest=99
Check warning on line 71 in teapot/cogs/music.py
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this "TODO" comment.
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZqqD07WzieBZblJ1WWK&open=AZqqD07WzieBZblJ1WWK&pullRequest=99
Check failure on line 321 in teapot/cogs/music.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZqqD07WzieBZblJ1WWL&open=AZqqD07WzieBZblJ1WWL&pullRequest=99
Check warning on line 118 in Teapot.py
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this "TODO" comment.
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZqqD1BqzieBZblJ1WWM&open=AZqqD1BqzieBZblJ1WWM&pullRequest=99
Check warning on line 3 in teapot/event_handler/db_handler.py
sonarqubecloud / SonarCloud Code Analysis
Use asynchronous features in this function or remove the `async` keyword.
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZmOp1ByTC8QxoqcdrEu&open=AZmOp1ByTC8QxoqcdrEu&pullRequest=99
Check warning on line 4 in teapot/event_handler/sao_handler.py
sonarqubecloud / SonarCloud Code Analysis
Remove the unused function parameter "bot".
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZmOp1CDTC8QxoqcdrEw&open=AZmOp1CDTC8QxoqcdrEw&pullRequest=99
Check warning on line 3 in teapot/event_handler/db_handler.py
sonarqubecloud / SonarCloud Code Analysis
Remove the unused function parameter "bot".
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZmOp1ByTC8QxoqcdrEt&open=AZmOp1ByTC8QxoqcdrEt&pullRequest=99
Check failure on line 50 in teapot/cogs/cmds.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "https://cdn.discordapp.com/avatars/612634758744113182/7fe078b5ea6b43000dfb7964e3e4d21d.png?size=512" 3 times.
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZmOp1DqTC8QxoqcdrEz&open=AZmOp1DqTC8QxoqcdrEz&pullRequest=99
Check failure on line 15 in teapot/cogs/cmds.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 65 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZmOp1DqTC8QxoqcdrE0&open=AZmOp1DqTC8QxoqcdrE0&pullRequest=99
Check warning on line 5 in teapot/event_handler/profanity_handler.py
sonarqubecloud / SonarCloud Code Analysis
Remove the unused function parameter "bot".
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZmOp0_3TC8QxoqcdrEr&open=AZmOp0_3TC8QxoqcdrEr&pullRequest=99
Check warning on line 16 in teapot/event_handler/sao_handler.py
sonarqubecloud / SonarCloud Code Analysis
Add replacement fields or use a normal string instead of an f-string.
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZmOp1CDTC8QxoqcdrEy&open=AZmOp1CDTC8QxoqcdrEy&pullRequest=99
Check failure on line 3 in teapot/event_handler/nqn_handler.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZmOp1B6TC8QxoqcdrEv&open=AZmOp1B6TC8QxoqcdrEv&pullRequest=99
Check warning on line 13 in teapot/event_handler/profanity_handler.py
sonarqubecloud / SonarCloud Code Analysis
Add replacement fields or use a normal string instead of an f-string.
See more on https://sonarcloud.io/project/issues?id=RedCokeDevelopment_Teapot.py&issues=AZmOp0_3TC8QxoqcdrEs&open=AZmOp0_3TC8QxoqcdrEs&pullRequest=99