SerenityOS Discord Bot Save

Discord Bot for the Serenity Operating System Community 🐞

Project README

This is the source for the SerenityOS Discord Bot.

Setup

The bot is written in TypeScript, nodejs and yarn are pre-requisites.

Then setup your environment:

$ git clone https://github.com/SerenityOS/discord-bot
$ cd discord-bot
$ yarn install
$ yarn build

Configuration

To configure the bot for local development you simply need to drop your discord bot token and guild ID in an .env file at the root of this project. The contents should look something like:

discord_token=<your-token-goes-here>
guild_id=<your-guild-id-goes-here>

See: https://www.writebots.com/discord-bot-token/

Now you can run yarn start:dev and the bot will startup, and then restart as you save changes to the source files:

$ yarn start:dev
[nodemon] 2.0.7
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src/**/*
[nodemon] watching extensions: ts,js
[nodemon] starting `ts-node ./src/index.ts`
Buggie bot has started

Running Tests

There are no tests yet, please help add some.

Credits

This was originally based off of the following discord bot template: https://github.com/MidasXIV/hive-greeter

Open Source Agenda is not affiliated with "SerenityOS Discord Bot" Project. README Source: SerenityOS/discord-bot
Stars
31
Open Issues
14
Last Commit
1 month ago
License

Open Source Agenda Badge

Open Source Agenda Rating