Get Invite broken

It’s not returning accurate data, gives me zero every time. This broke my old invite tracker so I made a new one from scratch, but it hasn’t worked at all after 2.5+ hours troubleshooting just this error. Below are screenshots of a test command. Invite code was correct.
The invite should have one use


So I’ll get the invite

Okay, and then send that

But that returns zero…

Ignore the warning lol

FBI suggested a manual request, and I figured that was the only way for now. Looking at the API Docs, it appears the invite object doesn’t return the invite uses? This may be the issue.

Whoops, looks like we forgot to send the “with_counts” flag to Discord on this block.

Just sent in an update with this fixed, should be live in a few minutes. Please let me know if that resolves the issue. Really sorry you spent so much time on this.

1 Like

Thanks! No worries about the time!

It appears to still be broken :confused:

You’re right, looks like that data isn’t included. This has been fixed.