Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getClientIDFromToken()
1 parent 88e14d2 commit 951fbd1Copy full SHA for 951fbd1
src/lib/discord/users.ts
@@ -0,0 +1,3 @@
1
+export function getClientIDFromToken(token: string): string {
2
+ return atob(token.split(".")[0]);
3
+}
0 commit comments