Skip to content

Crackle2K/architect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Architect

A command-line interface for Discord that lets you send direct messages to friends from your terminal.

Requirements

  • Go 1.21 or later
  • A Discord user token

Setup

  1. Copy .env and fill in your token:
DISCORD_TOKEN=your_token_here
  1. Run the program:
go run .

If DISCORD_TOKEN is set in your environment, the prompt is skipped automatically.

Getting your Discord token

Open Discord in a browser, press F12 to open DevTools, go to the Console tab, and run:

window.webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]);m.find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken()

The output is your token.

Commands

Command Description
friends List all friends
send <username> <message> Send a DM to a friend
help Show available commands
exit Quit

Example

> friends
Username              Display Name
----------------------------------------
mrfrost0              Frost

> send mrfrost0 hello
Sent to mrfrost0: hello

Warning

Using a user token for automation violates Discord's Terms of Service. Use this tool for personal, non-automated use only.

About

Command-line interface for Discord that lets you send direct messages to friends from your terminal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages