Shivers is a Discord bot made for hobby and educational purposes
- A C compiler (clang is recommended)
OpenSSLand its development headerszliband its development headersfreetypeand its development headers
- MSYS2
- MSYS2 compiler (gcc is recommended)
OpenSSLand its development headers for MSYS2zliband its development headers for MSYS2freetypeand its development headers for MSYS2
Tested for MSYS2 UCRT64 environment, so Makefile is set for this environment, if your envionment is different, change it.
- Clone the repository
- Create build directory using
mkdir buildand entercd build - Generate compilation files using
cmake .. --preset=releaseorcmake .. --preset=debug - Enter
cd releaseorcd debug, depends on which preset you prepared - Compile inside the directory using
make shivers, then start the server using./shivers
-
src: Source filescommands: Command filesevents: Event filesutils: Utility files which used in source files
-
libs: Internal librariesdatabase: Database librarydiscord: Discord library which create connections with Discordhash: Hash library, includes HashMap structurepng: PNG manipulation libraryjson: JSON librarynetwork: Network library that contains websocket part and HTTP requestutils: Utility library which used in source files or other internal libraries
-
include: Header files of everything
This project follows GNU99 standard and tries not to use external libraries, so includes some libraries that developed to use in this project.
This project is licensed under BSD-3-Clause license.