2026-05-06 01:23:44 +00:00

46 lines
1.2 KiB
Markdown

# 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 The link will also show you how to create a bot token as well. Create a token.txt file in your workdir folder. Copy the bot token and paste it into token.txt.
## Usage
./bin/Linux/release/discord-bot
# Build
```
workdir/
build_engine_sdk/
poomer-discord-hello-world/
lib
token.txt
DPP/
makefile
README.md
```
## 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/jason/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
```