Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Latest commit

 

History

History
25 lines (22 loc) · 917 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 917 Bytes

dapi

a cli app to interact with the discord api Actions

installation

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

setup

dapi config token set discord_token_here

usage

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