Skip to content

Commit

Permalink
docs: fixed replit.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Oct 3, 2023
1 parent 854d9d1 commit 1dd7a6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docpages/make_a_bot/replit.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ dpkg -x libdpp.deb .
3. Compile your bot, note that you should be sure to include the `pthread` library explicitly and reference the extracted dpp installation you just put into the repl:
```bash
g++ -o bot main.cpp -ldpp -lpthread -L./usr/lib -I./usr/include -std=c++17
```bash
4. Run your bot! Note that you will need to set `LD_PRELOAD` to reference `libdpp.so` as it will be located in `$HOME` and not `/usr/lib`:
```
4. Run your bot! Note that you will need to set `LD_PRELOAD` to reference `libdpp.so` as it will be located in `$HOME` and not `/usr/lib`:
```bash
LD_PRELOAD=./usr/lib/libdpp.so ./bot
```

Expand Down

0 comments on commit 1dd7a6c

Please sign in to comment.