Skip to content

A simple serverless bot for the new Redbrick Discord.

Notifications You must be signed in to change notification settings

benmcmahon100/brickbot

 
 

Repository files navigation

brickbot

CircleCI

A simple bot for the new Redbrick Discord.

How it works

brickbot is very simple. brickbot is just some Node.js which runs as a systemd service, and all it needs to do is make HTTP requests to functions we run using OpenFaaS. This means that no matter what your preferred language is, you're able to extend the functionality of brickbot. All we need to do is take your code, and add it to our Docker Swarm.

If you're interested in OpenFaaS we really recommend trying it out. Serverless is something worth learning (in our opinion), it's really started to change how we write code. There's some great articles out there on it but we personally found this one to be the most helpful.

Contributing

Like we said, it's really easy to extend brickbot. You can help make this bot better by either:

  1. suggesting new functionality
  2. implementing new functionality

If you're suggesting new functionality feel free to make an issue detailing:

  • the name of the command
  • a brief description of the command
  • any links to repositories that might do something similar to what you're describing

If you're implementing functionality:

  • make a PR with the relevant code added to bot.js
  • ensure your PR has a link to the code you want deployed with OpenFaaS (I'll make sure it is deployed)
  • add your command to the function list in get_test_set_one (in this file) along with it's expected result of 0 to it's respective list
  • add the command and it's creator to the list of functions below

For a more comprehensive guide to contributing to brickbot's functionality check this out.

Current Functions

About

A simple serverless bot for the new Redbrick Discord.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.5%
  • Dockerfile 0.5%