Comments (2)
Then, we would have to rewrite the /register command to following:
bot.onText(/\/register/, (msg) => {
addToUsersJSON(msg.from.first_name, msg.from.username);
});
from telegram-shipit-bot.
this should be easily possible, its a far smarter solution as the /register workaround
from telegram-shipit-bot.
Related Issues (20)
- Choose doesn't work as expected HOT 2
- Sending daily weather forecast is not working
- More Options for /choose
- /space function throws errors if no members are in the space
- wttr.in is down, so the bot throws lots of errors because of missing image source HOT 6
- Fixing svg to png rendering HOT 2
- Rework codebase to new syntax HOT 3
- weather warning HOT 1
- More cat features!
- Ignore fog warnings HOT 1
- Add documentation HOT 3
- move the .json files into a seperate folder HOT 1
- Reduce weather warning spam
- Generating Log and error files HOT 5
- rework bot commands to work in the middle of a message HOT 3
- Adding option for users to subscribe to the weather warnings
- Stop bot if token is invalid HOT 1
- Add proper error handling HOT 1
- Update Readme
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegram-shipit-bot.