rocketchat / rocket.chat.demo.app Goto Github PK
View Code? Open in Web Editor NEWThe best Rocket.Chat Apps Engine Demo out there.
The best Rocket.Chat Apps Engine Demo out there.
/increment
/increment 2
will increase the value of 0 to 2. Subsequently, /increment 4
will make the stored value 6./increment reset
will reset the stored value back to 0./increment help
will show instructions on usage of the commandJust like the sendMessage
and sendNotification
helper we need to have a sendDirect
helper for the app.
The implementation is already done in the /example
command file, we just need to move it to lib directory and use it
To get cleaner code and encourage code reuse, specifically while implementing slash commands, following helper modules are required:
sendMessage.ts
- to send message in a channelsendNotification.ts
- to send notifications in a channelsendDirectMessage.ts
- to send direct message to a user through the channelMore helper functions can be listed and implemented, as required, in this list.
/increment
command (with or without argument). The guideline is as follows (highlighted point).EDIT: UI GUIDELINE: https://developer.rocket.chat/apps-engine/ui-guidelines
/increment
, /increment help
and /increment NotANumberSomeRandomText
:/increment reset
and /increment <number>
/increment
command with all the above case mentioned and check the resulting message./increment
, /increment help
and /increment NotANumberSomeRandomText
message should be send by the AppBot, should not be persistance and should not be visible by the other user of room./increment reset
and /increment <number>
message should be send by the AppBot.[Fig. 9.1]
[Fig. 9.2]
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.