README
This commit is contained in:
parent
0de0b2fa60
commit
0f7dee42dc
46
README.md
46
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
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user