A Telegram bot for the secret Post-Apocalyptic B. community. This community appeared in the beginning of 2016 in the OnApp Ltd. in the result of combined efforts of the vCloud & Application Server teams members.
- ex - exchange currency. Format amount XXX in YYY
- ud - define word using Urban Dictionary
- go - search on DuckDuckGo (beta)
- dice - roll a basic dice
- l - find a location by address
- weekday - current day of week (in Europe, Kiev timezone)
- timein - gets time at specific location
- ball - ask Magic Ball a question
- weather - get weather in location (pas as argument)
The main goal is to help all the members of the community to prepare to possible post-apocalyptic future of Earth.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Development Tools
- .NET 6.0
- Docker
- Docker Compose
In order to install the bot, you need
- Get the bot-api-key from @BotFather
- Get the Google Map api key
- Add these keys and host (on which bot is running) to
appsettings.json
file - Fill the data about lunches account at the OnApp Ltd.
Currently tests couldnot be running. It would be greate to make them working.
When you build the app, you can experience some warnings which relates to codding style. This tests were added in order to make the app maintainable and make all code look similar.
Currently I'm working on making all this tests passed.
For deploy using docker as a delivery tool. You need to build and publish the app. Then build the docker container, deliver it to the server with other configs (like nginx.conf) and run
docker compose up -d
- .NET Core - The framework used
- Telegram.Bot - .NET Client for Telegram Bot API
- Api.Forex.Sharp - Used for getting currency rates
- GeoTimeZone - Used for getting timezone by location
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Dmytro Bihniak - Initial work - deril
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details