Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't permit account deletion if user owns servers #380

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maxgorovenko
Copy link

Please make sure to check the following tasks before opening and submitting a PR

  • I understand and have followed the contribution guide
  • I have tested my changes locally and they are working as intended

Issue #315

Signed-off-by: maxgorovenko <gooomax@gmail.com>
@maxgorovenko
Copy link
Author

@erkinalp, could you provide more information to this pr, except down emoji?

@maxgorovenko maxgorovenko marked this pull request as draft November 10, 2024 12:12
@erkinalp
Copy link

my alternative is to simply leave the guild behind ownerless and delete the user account anyway

@maxgorovenko
Copy link
Author

Oh, my bad. Checked if current user is server owner, Its totally wrong.

But checking if kicking member is server owner is already exists here. Looks like I don't have to do anything for now..

@MCausc78
Copy link

The PR is itself invalid. The issue is about preventing manual user account deletion if user owns some guilds. This PR prevents server owner from kicking other members.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In Progress
Development

Successfully merging this pull request may close these issues.

3 participants