Delete invite #2058
Answered
by
Tais993
redstonepro109
asked this question in
Questions and Help
Delete invite
#2058
-
How to delete a invite that was created |
Beta Was this translation helpful? Give feedback.
Answered by
Tais993
Mar 18, 2022
Replies: 1 comment 3 replies
-
You first use Invite#resolve, to resolve the invite. Invite.resolve(jda, inviteCode).flatmap(Invite::delete).queue(); Something like this should work |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
redstonepro109
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You first use Invite#resolve, to resolve the invite.
After that, a flatmap where you call the
delete
method on InviteSomething like this should work