A simple bot for the new Redbrick Discord.
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.
Like we said, it's really easy to extend brickbot. You can help make this bot better by either:
- suggesting new functionality
- 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.
- bus by RoryH
- coinflip by theycallmemac
- info by theycallmemac
- isitup by theycallmemac
- luas by RoryH
- nslookup by JockDaRock
- pwgen by alexellis
- pwned by alexellis
- room by gruunday
- ssl by stefanprodan
- weather by theycallmemac
- wiki by ciankehoe
- uptime by ciankehoe