Shellbot is a discord bot of the shellcode.fr community, a french community about programming, devops, sysadmin and much more.
Want to improve this bot ? Feel free to create a pull request !
Shellcode.fr est une communauté passionné par tout ce qui touche à l'informatique, on y parle administration système, réseaux, développement web & applicatif, scripting, sécurité etc...
L'objectif est de se retrouver autour d'une même passion afin de s'entraider/discuter/s'informer.
git clone git@github.com:bt0r/shellbot.git .
make install
make create-config
, otherwise, don't forget to edit your config file (located on config/config.yml
)make start
You can run the bot on a "classical" dedicated server by installing:
When your server is well configured, just run the bot by using native node command:
npm install
node ./node_modules/.bin/typeorm migration:run
npm run-script build
npm start
You must have a kubernetes cluster (managed or self-hosted), i personally use k3s.
All the kubernetes resources are available in the infra
directory, all you have to do is:
docker-credential
with your docker credential (or rename it by your current docker credential secret)mysql-credential
which is base on .env.prod.dist
file with your database credential!chuck
!weather <city> <countryCode ISO2>
. Example: !weather montreal ca
!qwant <query>
!cat
!bonjour
or with a specific term like "l'asiat": !bonjour l'asiat
!butts
or !boobs
!quote <messageId> <reply>
/!\ Need to activate the discord developer mod