Skip to content

Conversation

@FortressZero
Copy link

This pull request...

  • Fixes a bug
  • Introduces a new feature
  • Improves an existing feature
  • Boosts code quality or performance

Description

Added calls to bot.JDA to retrieve a discord User object with the aim to allow DJs to remove users even when requesters have left the voice channel. Removed code pertaining to removal of multiple users requests when calling forceremove. Added parsing code to identify a User by id, mention, or username. Note that with this change calling forceremove via username will still fail if the user has left the voice channel (due to how JDA.getUserTag) is implemented) but calling forceremove with either id or mention will now correctly delete that user's requests, regardless of if they are still in the channel or server in which they originally made that request.

Purpose

This request was created to solve Issue #1249

Relevant Issue(s)

This PR closes issue #1249

… to allow DJs to remove users even when requesters have left the voice channel. Removed code pertaining to removal of multiple users requests due to that infrastructure never being used. Added parsing code to identify a User by id, mention, or username
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant