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

a cli app to interact with the discord api

License

Notifications You must be signed in to change notification settings

sycer-dev/dapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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