To get your Discord token, you can follow these steps:
Open Discord in your web browser.
Open the Developer Tools. In Chrome, you can do this by pressing Ctrl+Shift+I on your keyboard.
Click on the Network tab.
Reload the page by pressing F5 on your keyboard.
Type /api into the Filter field.
Click on the library request.
Click on the Headers tab.
Your Discord token is the value of the Authorization header.
Note: It is important to keep your Discord token secret. If anyone else gets it, they will be able to log into your Discord account and do anything they want.