From 0f7dee42dc89fce3326d88bbf62f6ef5be4af7be Mon Sep 17 00:00:00 2001 From: jason Date: Fri, 22 Aug 2025 20:36:21 +0000 Subject: [PATCH] README --- README.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/README.md b/README.md index e69de29..a949097 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,46 @@ +# poomer-discord-hello-world +Displays an image in reverse on the discord server after dropping in on a discord channel + +Follow instructions to create a bot for your discord server at https://dpp.dev/creating-a-bot-application.html Follow the instructions in the link to create a bot token as well. Copy the bot token and paste it into Token.txt. Put the Token.txt file into workdir. + +## Usage +./discord-bot + +# Build +``` +workdir/ +├── build_engine_sdk/ +├── poomer-discord-hello-world/ + └── lib + └── dpp # contains include files of D++ +├── DPP/ +├── makefile +├── README.md +└── Token.txt +``` + +## Linux + +### bella_engine_sdk +``` +curl -O https://downloads.bellarender.com/bella_engine_sdk-24.6.0.tar.gz +tar -xvf bella_engine_sdk-24.6.0.tar.gz +``` + +``` +mkdir workdir +cd workdir +git clone https://github.com/brainboxdotcc/DPP.git +cd DPP +cmake -B ./build +cmake --build ./build -j4 +cd .. +git clone https://git.indoodle.com/oomer/poomer-discord-helloworld.git +cd poomer-discord-helloworld +``` +For a prototype app we can just dump the stb headers right into the helloworld dir for simplicity +``` +curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image.h +curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h +make all -j4 +``` \ No newline at end of file