Skip to content

Error reporting if bot added with wrong scope - #170

Merged
Zabuzard merged 1 commit into
developfrom
feature/handle_wrong_scope
Oct 8, 2021
Merged

Zabuzard merged 1 commit into
developfrom
feature/handle_wrong_scope

Conversation

@Zabuzard

@Zabuzard Zabuzard commented Oct 8, 2021

Copy link
Copy Markdown
Member

If the bot is added to a guild, but with wrong permissions (for example: missing the slash commands scope), it will now report the problem to the guild and also log a warning.

Port from the stale #119 which did not survive the massive refactoring introduced in develop.

@Zabuzard Zabuzard added the enhancement New feature or request label Oct 8, 2021
@Zabuzard Zabuzard added this to the Improvement phase 1 milestone Oct 8, 2021
@Zabuzard Zabuzard self-assigned this Oct 8, 2021
@Zabuzard
Zabuzard requested review from a team as code owners October 8, 2021 08:15
@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2021

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@Zabuzard
Zabuzard merged commit ecdc856 into develop Oct 8, 2021
@Zabuzard
Zabuzard deleted the feature/handle_wrong_scope branch October 8, 2021 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants