Skip to content

guilhermecara/cdiscord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caution

This project is a proof of concept and using it may lead to an account block according to the Discord TOS. I do not take responsability for any blocked account.

About

Welcome to Cdiscord a discord CLI!

Capabilities

  1. Direct messages from the terminal.

Dependencies

Manual Installation

Run those commands

git clone https://github.com/guilhermecara/cdiscord
cd cdiscord
npm link
cdiscord

Run cdiscord in your terminal!

Get your discord token

To use Cdiscord, you'll need to get your discord token.

Run this on the Discord Console - [Ctrl + Shift + I]

window.webpackChunkdiscord_app.push([
  [Symbol()],
  {},
  (req) => {
    if (!req.c) return;
    for (let m of Object.values(req.c)) {
      try {
        if (!m.exports || m.exports === window) continue;
        if (m.exports?.getToken) return copy(m.exports.getToken());
        for (let ex in m.exports) {
          if (
            m.exports?.[ex]?.getToken &&
            m.exports[ex][Symbol.toStringTag] !== "IntlMessagesProxy"
          )
            return copy(m.exports[ex].getToken());
        }
      } catch {}
    }
  },
]);

window.webpackChunkdiscord_app.pop();
console.log("%cWorked!", "font-size: 50px");
console.log(`%cYou now have your token in the clipboard!`, "font-size: 16px");

Credits

About

Discord as a CLI tool. Messaging from the command line.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors