welcomebot | Slack bot to welcome new members of a channel | Chat library

 by   skybet Go Version: v0.1.1 License: MIT

kandi X-RAY | welcomebot Summary

kandi X-RAY | welcomebot Summary

welcomebot is a Go library typically used in Messaging, Chat, Nodejs, MongoDB, Discord applications. welcomebot has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Want to welcome people to your Slack?. Oh, hi! You're new to the company. Welcome to the team! Here's some channels you might want to join: #help-with-stuff #cute-animals #just-office-things. How about when someone joins a specific channel?. Hello! Thanks for joining the FancyTeam channel. We look after Foo, Bar, and Baz services. We use Monkeybot in this channel to triage issues, so attact their attention with @monkeybot help. Example configs in config.json.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              welcomebot has a low active ecosystem.
              It has 5 star(s) with 2 fork(s). There are 7 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 10 open issues and 4 have been closed. On average issues are closed in 5 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of welcomebot is v0.1.1

            kandi-Quality Quality

              welcomebot has no bugs reported.

            kandi-Security Security

              welcomebot has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              welcomebot is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              welcomebot releases are available to install and integrate.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of welcomebot
            Get all kandi verified functions for this library.

            welcomebot Key Features

            No Key Features are available at this moment for welcomebot.

            welcomebot Examples and Code Snippets

            No Code Snippets are available at this moment for welcomebot.

            Community Discussions

            QUESTION

            How to organise multiple ActivityHandler classes in Microsoft Bot Framework
            Asked 2020-Jul-02 at 21:48

            I am developing my first bot using the MS Bot Framework and although I understand the basics, I am a bit clueless as to how to organize my code. For eg. I am planning to have

            • notifier
            • welcome prompt
            • very basic help response

            I am using the Core template in Visual Studio and it comes with a Bots folder which has classes ending with Bot. Looking at some samples, it seemed to me that the bot handling logic needs to sit here. So, I decided to have 3 classes, all extending from ActivityHandler each doing one of the above tasks. Say I have 3 classes,

            ...

            ANSWER

            Answered 2020-Jul-02 at 21:48

            ActivityHandler implements IBot, so it can be thought of like a bot. Having multiple activity handlers would be like having multiple bots. Activity handlers are already designed to route different activity types to different code, so if routing is your concern then you only need one activity handler.

            I presume your notifier is for proactive messaging. Rather than having a separate activity handler for it, what normally works is to have a separate endpoint, which is usually api/notify (as opposed to api/messages). You can still have a separate activity handler for that if you want, or not even use an activity handler for that case (like in the sample). Note that different channels may have special considerations for proactive messages, but that's outside the scope of your question.

            Welcome messages are very easy with activity handlers. You can just use OnMembersAddedAsync in your one activity handler, and there's no need for a whole separate activity handler. Welcome messages are also channel-specific because they rely on conversation update activities, and not every channel has a well-defined way to know when a conversation starts before the user says anything. Here's a sample for if you're using Web Chat.

            If you want multiple implementations of the same interface in your dependency injection then you'll need to identify them by the implementation rather than the interface, but keep in mind that you don't need to put them in dependency injection at all.

            Source https://stackoverflow.com/questions/62663832

            QUESTION

            Send CardActions in HeroCard as a welcome message and direct to the respective dialog
            Asked 2019-Jul-24 at 14:29

            I'm using Dialogs and waterfallstep to organize the dialog logic, and I want a HeroCard with CardActions as a welcome message. It works fine just sending a HeroCard as a welcome message, but my problem is to direct to the right dialog using turnContext when the user click on one of the options in the CardAction.

            Here's my code in Bots.WelcomeBot.cs where I'm stuck. These two methods are after OnMembersAddedAsync which works fine.

            ...

            ANSWER

            Answered 2019-Jul-24 at 14:29

            If you’re using WebChat or directline, the bot’s ConversationUpdate is sent when the conversation is created and the user sides’ ConversationUpdate is sent when they first send a message. When ConversationUpdate is initially sent, there isn’t enough information in the message to construct the dialog stack. The reason that this appears to work in the emulator, is that the emulator simulates a sort of pseudo DirectLine, but both conversationUpdates are resolved at the same time in the emulator, and this is not the case for how the actual service performs. (source: How to properly send a greeting message and common issues from customers)

            Currently it is not possible to use the conversationUpdate event for the scenario you describe. You can solve this by sending a custom event when the WebChat is fully loaded, however you can’t use the default iframe provided by the Bot Service. Have a look at implementing the Web Chat v4.

            Have a look at a sample which shows how to implement a welcome activity when the bot first starts:

            Source https://stackoverflow.com/questions/57161955

            QUESTION

            How to handle state and configure cosmos db storage in a nested dialog? (bot framewrok v4)
            Asked 2019-Jul-17 at 19:19

            I am trying to build a chatbot with nested dialogs which is supposed to gather information from the user and store it in Azure CosmosDB. The dialog worked fine until I implemented the Cosmos DB storage. Now, with the CosmosDB storage the dialog loops on the first task in the first dialog, instead of continuing. How can I solve this problem?

            Beginning with the dialogs, and how it was before implementing CosmosDB storage. I basically followed the code in this sample 43.complex-dialog.

            Then, implementing the storage I used this answer as a guide. I set up the cosmosDB storage in Startup.cs like this:

            ...

            ANSWER

            Answered 2019-Jul-17 at 19:19

            For now, it should work if you remove the PartitionKey parameter from CosmosDbStorageOptions. You will likely need to delete your Container or use a different name, since yours is currently partitioned. Easiest to just delete your Container and let the bot make one for you.

            There's currently a bug in all the Bot Builder SDKs around reading from partitioned databases when the partitionKey is supplied. Tracking the issue here

            Source https://stackoverflow.com/questions/57074286

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install welcomebot

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/skybet/welcomebot.git

          • CLI

            gh repo clone skybet/welcomebot

          • sshUrl

            git@github.com:skybet/welcomebot.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link