- Open discord from your browser and login to your account. (or enable debug mode in discord app)
- Press
Ctrl + Shift + I
to open developer tools. (orOption + Command + I
on macOS) - Paste the following code in the console and press enter.
const i = document.createElement("iframe");
i.onload = () =>
console.log(
"%c" + i.contentWindow.localStorage.getItem("token").slice(1, -1),
"color: red;font-size: 24px"
);
i.src = "about:blank";
document.body.appendChild(i);
- You will see a red text in the console. That is your access token.
- Open discord from your browser and login to your account. (or discord app)
- Enable developer mode in discord settings.
- Right click on the channel you want to post and click on
Copy ID
.