Bot-reminder for messenger
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

We are the team of corporate messenger dialog. We have Java Bot SDK to create bots in our messenger. Since it is new, we want to order a few bots from the community for demonstration purposes.

The documentation of our Java Bot SDK is here: https://docs.dlg.im/bots/java-bot.html

Our messenger has a web client, you should use it for the development: https://grpc-test.transmit.im/

For web use endpoint: https://grpc-test.transmit.im:8443

For grpc use endpoint: https://grpc-test.transmit.im:9443
Test accounts:

alice / password

After you've logged in you should write to Security Bot user and write command /bot new bot_username bot_name where bot_username is the username you can choose for your new bot and bot_name is his display name

We've open-sourced the bot for stress tests. This bot is able to register on the server, synchronizing with the phonebook and sending messages.

The bot is available at https://github.com/dialogs/stressbot

Please feel free to ask questions in our community https://dlg.im/@botsfordialog

Our developers are always happy to help and answer your questions.

Scenario for the bot:

This bot's purpose is to remind the user about the messages that the user has sent.

Scenario:

The very first message from the bot to the user

Bot: Hi! You can send me a message and I will remind you about it at the right time.

Each text message from the user initiates a new reminder request

User: "Pay server"

Reminder request initiates, the start of script

Bot: Ok! When do you need me to remind you of this?

Bot: [Buttons]

- In 30 minutes

- in an hour

- In two hours

- Tomorrow

- A week later

- Indicate the time

If the option "Specify time" is selected, then the following message

Bot: [dropdown menu with a choice of hours (24h) and a dropdown with a choice of minutes]

After specifying the reminder time

Bot: Ok, got it! I will remind you at the right time.

At a specified time

Bot: Hey! You asked to remind "pay server".

For bounty to be verified, the bot must be running and working on https://grpc-test.transmit.im/

Hi Maay you seem to be having put up duplicate bounties kindly rectify
SilverHood Apps 18 days ago
I haven't been able to log in in the provided server/users. Is it an error on your side?
gabrielsimoes 16 days ago
Didn't completely get it, but contact Bountify asap or Bevan at https://bountify.co/users/bevan , he's the best at handling problems at Bountify. Or put a feedback here https://bountify.co/contact Ps: I'm just another bounty hunter
SilverHood Apps 16 days ago
I wrote at contact immediately it happened but got no answer from there. The site lagged, gave me heroku error and after page refresh doubled the bounty.
Maay 16 days ago
@gabrielsimoes Which endpoint did you entered using web app?
Maay 16 days ago
@Maay I have tried logging in at https://grpc-test.transmit.im/ using the https://grpc-test.transmit.im:8443/ endpoint and the alice, bobby and testuser usernames.
gabrielsimoes 16 days ago
@gabrielsimoes For grpc use this enpoint https://grpc-test.transmit.im:9443
Maay 16 days ago
You have to open https://grpc-test.transmit.im and enter https://grpc-test.transmit.im:8443 as endpoint. Then enter alice as username and password as password. Does it works for you?
Maay 16 days ago
@Maay i've tried and it worked, signed in good at first attempt. Then tried sending any message it did not accept any. Writing a word and hitting space results in clearing the pervious word. Idk if thats intended. Btw what are we supposed to do in the bounty? Test the functionality or developm one?
SilverHood Apps 16 days ago
@SilverHood Apps In bounty you should develop a bot functionality. In https://grpc-test.transmit.im by using https://grpc-test.transmit.im:8443 endpoint and user alice with "password" password will get you the test interface. You will be able to send a message in a normal way. The functionality that needs to be developed is described in the bounty itself.
Maay 16 days ago
@SilverHood Apps After you've logged in you should write to Security Bot user and write command /bot new bot_username bot_name where bot_username is the username you can choose for your new bot and bot_name is his display name
Maay 16 days ago
@Maay ohk 👍
SilverHood Apps 16 days ago
11 days ago
Tags
java
grpc
bots

Crowdsource coding tasks.

1 Solution


Here is my solution:

https://github.com/gabrielsimoes/java-bot-sdk

under /examples/reminder

I have it running as "reminder_bot" under https://grpc-test.transmit.im/, but I won't be able to let it running for too long.

You can see a sample interaction under the user "alice".

Can you make a pull request here? https://github.com/dialogs/dialog-reminder-bot
Maay 14 days ago
I have made a PR here https://github.com/dialogs/dialog-reminder-bot/pull/2 and also here https://github.com/dialogs/java-bot-sdk/pull/3. Feel free to accept either.
gabrielsimoes 13 days ago
Please see some comments at dialog-reminder-bot
Maay 13 days ago
@gabrielsimoes any luck with that? You seem to get it all working, just a few style edits needed.
Maay 12 days ago
I'll get it done as soon as I can. I have been very busy in the last few days, but I might be able to solve the edits by tomorrow night.
gabrielsimoes 12 days ago
@gabrielsimoes great, bounty will be live 17 more hours!
Maay 11 days ago
Actually, you I think you can still select a solution, right?
gabrielsimoes 10 days ago
Yes I can
Maay 10 days ago