realwoopee / multi-purpose-tg-bot Goto Github PK
View Code? Open in Web Editor NEWTelegram bot with filters and handlers
License: MIT License
Telegram bot with filters and handlers
License: MIT License
Add /mycounter and /chatcounter commands
It should run on every branch except example/* ones
Because bare Kesterel shouldn't be used, I think this app should use Ngnix on deployment.
Right now the process of deploying this bot on a server via docker will give you headaches and generally requires a lot of handwork.
Current deployment process:
git fetch ; git pull
.env
and appsettings.json
files.docker-compose build ; docker-compose up
.I want this process to be easier and simpler:
Those 3 steps could be automated by using CI, but maybe we can keep this project simple and just separate settings from code. Which we can do by moving whole solution (excluding docker-compose.yml
, env
, etc) to src/
folder. Or at least we can move appsettings.json
file to the root of this repo and create env-example
file, gitignoring original env
.
What should be done first is described in previous paragraph:
.gitignore
file.CodeFactor found multiple issues last seen at b6b6614:
dotnet-app\DAL\WordCounterBot.DAL.DatabaseAccess\UserDao.cs:75
dotnet-app\DAL\WordCounterBot.DAL.DatabaseAccess\UserDao.cs:69
dotnet-app\BLL\WordCounterBot.BLL.Core\Controllers\SystemMessageHandler.cs:22
Right now all the docker-related stuff is in the root of the master branch with all the code. I think files like docker-compose.yml
and env-example
should be moved to new example/docker
branch that won't contain any code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.