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

Files

Latest commit

532b479 · Sep 6, 2021

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