Curated from: medium.com
Ideas, facts & insights covering these topics:
6 ideas
No reads
Explore the World's Best Ideas
Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.
My bot should be able to manage all the needs a small company could have on Slack:
2
0 reads
For this program, I’ll use:
2
0 reads
There are then two cases:
2
0 reads
Below you’ll find my Server.Js file: This server is a blank page, showing and processing nothing. You’ll then need a slack App: just follow this link to create one. The Controller is the brain of your Bot. It contains every skill and configuration.
2
0 reads
If you give the right Permissions to your App, every time a message is sent on a channel, slacks sends a request to your server with some information. If we want our Bot to react to a simple message like "Hi", we have to give slack an address to send the information to. If we want our Bot to react every time it hears "hello", we can simply add This.Hears() Function to our Controller. If we want our Bot
2
0 reads
A Cronjob firing every weekday at 9:00 am is below a Cronjob firing every weekday at 9:00 am. Thanks to the date() Method, the Bot gets today’s date and can compare it to the “Joineddate” of the user.
2
0 reads
IDEAS CURATED BY
Learn more about leadershipandmanagement with this collection
The importance of perseverance
How to embrace failure as a learning opportunity
The power of innovation and creativity
Related collections
Similar ideas
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates