module
Version:
v0.0.0-...-2077255
Opens a new window with list of versions in this module.
Published: Mar 25, 2024
License: MIT
Opens a new window with license information.
README
¶
go-discord-autoposter
Getting access token from Discord
- 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. (or Option + 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.
Getting channel id from Discord
- 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
.
Directories
¶
cmd
|
|
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.