[PYTHON] Safety confirmation LINE bot [Explanation]

スクリーンショット 2020-04-07 12.02.47.png

Introduction

After reading this article, the number of coronavirus-infected patients is finally in Tokyo. I made it because it seems that home medical treatment will increase beyond the number of beds secured by.

Since it is open to the public for the time being, LINE is a free plan once, but I think that if the number of users increases, I will charge it. I'm afraid of the LINE push fee, but ...

Share this bot for the time being 775sszex.png

This time a brief explanation

menu

When you add a friend, the menu below is set by default, so write a description of this. richmenu_1585813023461.jpg

"Explanation" and "About bots" are as above, but I will write a little more detail about the settings.

Setting

If you press the menu setting, such a menu will be displayed.

スクリーンショット 2020-04-05 23.26.47.png

--About emergency contacts (up to 3 people can be added) --Add: Add an emergency contact. Please send the registration procedure message displayed by pressing this button to the person who will be the emergency contact. This message is different for each person, so please send the most recently issued message. (The operation of the person who received the code is the operation of "Set as another person's emergency contact".) --List: Shows a list of current emergency contacts. If you want to change it, click the "Delete" button next to the person displayed in this list to delete it, and then add it. --About time --Confirmation time setting: Set the time to send the confirmation message. A list will be displayed, so click the edit button. By default, it is set to 07:00 and 19:30. --Set reconfirmation time: Set the time interval for re-sending the message if there is no action from the user after sending the first confirmation message. You can specify up to 2 hours after the above confirmation message is sent in 30-minute increments.

The code is explained in another article.

Finally

In the case of the scenario type where you exchange several times, state management is difficult and I thought that it is better to use a service like IFRO. Corona disappears soon! !! !!

Recommended Posts

Safety confirmation LINE bot [Explanation]
Make LINE BOT (Echolalia)
LINE BOT if ~ stumbled
Make a LINE BOT (chat)
Parrot return LINE BOT creation
[Python] Make your own LINE bot
[LINE bot] I'm a ranger! Part 2
Create a LINE Bot in Django