Skip to content

Instantly share code, notes, and snippets.

@yumiruuwu
Last active November 30, 2022 06:30
Show Gist options
  • Save yumiruuwu/51dde1e68c342648767e67c752484a22 to your computer and use it in GitHub Desktop.
Save yumiruuwu/51dde1e68c342648767e67c752484a22 to your computer and use it in GitHub Desktop.
As the title said
webpackChunkdiscord_app.push([[[""]],{},q=>Object.values(q.c).find(e=>e.exports?.Z?.createFriendInvite).exports.Z.createFriendInvite().then(console.log)])
@yumiruuwu
Copy link
Author

List all invite codes:

webpackChunkdiscord_app.push([
	[
		[""]
	], {},
	q => Object.values(q.c).find(e => e.exports?.Z?.getAllFriendInvites).exports.Z.getAllFriendInvites().then(console.log)
]);

Remove all invite codes:

webpackChunkdiscord_app.push([
	[
		[""]
	], {},
	q => Object.values(q.c).find(e => e.exports?.Z?.revokeFriendInvites).exports.Z.revokeFriendInvites().then(console.log)
]);

REMEMBER: Reload your client after use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment