GithubHelp home page GithubHelp logo

dylanrg / skypeforbusinessbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ankitbko/skypeforbusinessbot

0.0 1.0 0.0 681 KB

A bot to automatically respond to Skype For Business IM

Home Page: https://ankitbko.github.io/2017/01/BusyBot-Sykpe-For-Business-Bot/

License: MIT License

C# 100.00%

skypeforbusinessbot's Introduction

BusyBot - Chat Bot for Skype for Business

A bot to automatically respond to Skype For Business IM.
Blog post - https://ankitbko.github.io/2017/01/BusyBot-Sykpe-For-Business-Bot/

Description

Tired of getting IM during work, I created a bot to automatically respond to the incoming message that I am busy and set my Skype status to "Busy". This project was purely for fun.

Features

So what does the bot do as of now? It accepts the incoming IM and -

  • Responds to greetings - Hi, Hello, Good Morning etc.
  • In case the person wants to call me or asks whether I am free - respond that I am busy and will talk later and set my status to Busy.
  • Ignore any other messages - Pretend I am busy
  • Exception Filter - Bot does not reply anything if sender is present in Exception List. I don't want to reply to my manager that I am busy if he pings me. :)

Dependency

The bot has an optional dependency on Redis server. Since the bot will not be talking to Microsoft Bot Connector in any way, we would need to store bot's context somewhere ourself. I had earlier used locally running instance of Redis. However now I have commented out RedisStore and used InMemoryStore. To use Redis store uncomment the region in Program.cs and comment InMemory region.

You would also need Skype For Business running and signed in.

How to use

The bot is just a console application. The bot service is not hosted as Web Api, but runs within the console applications. First create a new LUIS application by importing the model json from LuisModel directory. Copy your LUIS model id and subscription key and paste it in LuisModel attribute in LyncLuisDialog.cs.

The exception list is located in App.config in the console project. Values are ; separated.

<add key="ManagerList" value="sip:[email protected];sip:[email protected]"/>

Make sure your Skype for Business client is running and you are signed in and just start the console project. Ask your friend to ping you and see what happens.

skypeforbusinessbot's People

Contributors

ankitbko avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.