A Discord bot that provides documentation hints for the SourceMod API.
/docs <query>
- Displays symbol information./reload-symbols
- Owner only command to reload symbols.
- Clone this repository and navigate to the directory.
- Copy
.env.example
to.env
and fill environment variables.
- Run
npm install
to install all the dependencies. - Run
npm run build
to build the application. - Run
npm run deploy:prod
to deploy the slash commands. - Run
pm2 start dist/index.js --name sourcemod-docs-bot
to start the bot.
- Copy
docker-compose.yml.example
todocker-compose.yml
. - Run
docker-compose up -d
to start the bot in the background.
- Clone the repository with
git clone https://github.com/Sikarii/sourcemod-docs-bot
. - Navigate to the cloned repository with
cd sourcemod-docs-bot
. - Copy
.env.example
to.env
and fill environment variables. - Run
npm run deploy:dev
to deploy slash commands to the dev guild. - Run
npm run dev
to run the bot in development mode (restarts on changes).
- rumblefrog - Author of the sourcemod-dev/manifest repository, used for the symbols in the bot.