question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Retrieving single ban from guild

See original GitHub issue

General Troubleshooting

Hey there! Before you report a bug or suggest a new feature, please make sure to follow these steps first!

  • I have checked for similar issues.
  • I have updated to the latest JDA version.
  • I have checked the branches or the maintainers’ PRs for upcoming features/bug fixes.

This is not the place to learn Java. Please refer to StackOverflow for your general programming questions.

Issue

Issue Type

  • Bug Report
  • Feature Request

For questions join the official JDA discord server: https://discord.gg/0hMr4ce0tIl3SLv5

Description

Discord’s API supports retrieving a single ban entry by specifying the user ID as the last parameter in the URL (/guilds/{guild.id}/bans/{user.id}), however JDA does not support this functionality. It would be great if this could be added to JDA 😃

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
natanbccommented, Aug 3, 2018

maybe retrieveBanById, just like JDA#retrieveUserById?

1reaction
kantenkugelcommented, Aug 3, 2018

would prefer a getBanById or or similar, as pretty much every (if not every) method using the id for lookup uses the ById suffix

Read more comments on GitHub >

github_iconTop Results From Across the Web

Looks like the "I was banned along with my guild" feedback ...
If your Path of Exile account has been banned, I would suggest submitting an appeal - if you have already done so then...
Read more >
Guild - JDA 5.0.0-alpha.10 javadoc
Bans the UserSnowflake and deletes messages sent by the user based on the amount of delDays. ... Retrieves and collects members of this...
Read more >
c# - Guild members are not populated anymore, cannot ...
1 Answer 1 · GUILD_MEMBER_[ADD|UPDATE|REMOVE] requires the GUILD_MEMBERS intent to be received · PRESENCE_UPDATE requires the GUILD_PRESENCES ...
Read more >
Guild ninja invites - Feature Requests and Game feedback
You'd be on your own, could ignore guild stuff, no one could bother you anymore as you can't sent invites to people currently...
Read more >
How to get unbanned from a Discord server - Cybernews
However, if you have been given a server ban from an individual server's administrator, creating a new account and re-joining would be a ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found