WARNING: USING 3RD-PARTY DISCORD CLIENTS IS A BANNABLE OFFENSE BY THE TOS, AND I CAN'T GUARANTEE THAT YOUR ACCOUNT WILL NOT BE BANNED IF YOU USE THIS!
To create an ncurses based Discord client with vim-like keybindings in Python.
Usable now, not a complete replacement or a daily driver yet.
- Open the default discord client.
- Press Ctrl+Shift+i
- Go to the networking tab.
- Type in the search bar: "/api"
- Click on one of the options that you got.
- Search for a property called authorization.
- Profit!
See the FAQ section to get your token.
export VISCORD_TOKEN="token"
You can run the above snippet in your shell to set your token temporarily.
You can also create a file like set_token.sh
to save your token. You will need to run source set_token.sh
so it will apply to your current shell.
Be sure not to commit your token.
To create a virtual environment and install dependencies:
$ python3 -m venv ./virtenv # create the virtual env
$ source ./virtenv/bin/activate # use the right variant for your shell {,.fish,.csh}
$ pip3 install -r requirements.txt # install dependencies
to deactivate the virtual environment use the deactivate
function like so:
$ deactivate
You can always use $ source ./virtenv/bin/activate
to activate your virtual environment.