# 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
```