a cli app to interact with the discord api
Download the pre-build binary at https://github.com/sycer-dev/dapi/releases/latest
And if you have the rust toolchain already installed,
cargo install --git https://github.com/sycer-dev/dapi --branch main
dapi config token set discord_token_here
dapi users @me
dapi users 492374435274162177
dapi build message --content "Hello World\!" | dapi msg post 581635926757998613
echo '{ "content": "hello" } | dapi req post /channels/581635926757998613/messages