A telegram bot written in Go
- all - Send a message to all active members in a group
- audio_quote - Like /quote, but for audio
- bodegem - A place that is real and exists
- care - Notify the participants that you don't give a hecky.
- changelog - View the Octaaf changelog
- checkrepublic - ENTERPRISE ONLY: fetch kali checkers
- count - Get your room's current message count
- doubt - When in doubt...
- img - search possible nsfw images
- img_quote - Like /quote, but for images
- img_sfw - Search possible SFW images
- img_censored - Search censored images
- issues - show open gitlab issues for this project
- kalirank - ENTERPRISE ONLY: Show the kali rankings
- m8ball - Let fate decide your future
- more - MORE IMAGES
- next_launch - Show the next 5 rocket launches
- pay - Pay some kalicoins to another chat member by replying, eg:
/pay 20 3D printing services
- pollentiek - Shows your political orientation, by doing machine learning, AI and blockchain in the cloud with microservices.
- presidential_order - Launch a new presidential order
- presidential_quote - Show a presidential quote
- pricetable - Show the kalicoin pricetable
- quote - Get or store random kali quotes
- remind_me - Remind me in a given time
- roll - Praise kek
- search - Search stuff on DuckDuckGo with safe search on
- search_nsfw - Search dirty stuff on DuckDuckGo
- stallman - I'd just like to interject for a moment. What you’re referring to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux.
- vod_quot - Like /quote, but for videos
- weather - Get the weather of a city
- what - Explains what something is
- where - Find places on earth
- xkcd - Get a random XKCD comic
- wallet - Receive your remaining wallet balance
- a telegram bot account
- you can use telegram for this
- install postgresql
pacman -S postgresql
(or any other package manager)sudo -u postgres -i
initdb --locale en_US.UTF-8 -E UTF8 -D '/var/lib/postgres/data'
- Create your first DB user
- Install and run Redis
- Soda
- a google api key (optional)
cp config/settings.toml.dist config/settings.toml
- Enter the correct values in the settings file
cp config/settings.toml.dist config/settings.toml
- Enter the correct values in config/settings.toml (just enter your telegram api key)
docker-compose up
# Deploying the latest stable version
docker create \
--name octaaf \
--network "host" \
--restart "always" \
--env ENVIRONMENT="production" \
--env TELEGRAM_API_KEY="12345678:AAAAAAAA...." \
--env DATABASE_URI="postgres://username:password@127.0.0.1:5432/octaaf_development?sslmode=disable" \
--env REDIS_URI="redis-host:6379" \
--env REDIS_DB="0" \
--env GOOGLE_API_KEY="ABC..." \
--env JAEGER_SERVICE_NAME="octaaf" \
--env KALI_ID="-1000..." \
--env TZ="Europe/Brussels" \
registry.gitlab.com/bartwillems/octaaf:latest