- Open the browser developer tools (
F12orCtrl + Shift + I) and click the Console tab. - Paste the following code into the console and press Enter:
(w=webpackChunkdiscord_app).push([[Symbol()],{},o=>{try{Object.values(o.c).some(e=>e.exports?.setToken&&(w.t=e.exports.getToken()))}catch{}}]),w.t(Contributed by @Risim-hanse)