Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Repository files navigation

botguy

botguy (Skype handle: thebotguy) is a Skype bot I've built for a Skype group chat that my friends and I use daily.

He does a lot of odd jobs (in both senses of the word), like allow users to commend each other by saying "nice one" (niceone.js) or query and post to our - sigh - meme machine (yam.js), which I refuse to link to but you can find a link to in my code.

You probably are confused and maybe a little disgusted by botguy's existence. I don't blame you. However, what little capacity for shame I possessed was stripped from me when frugality took the reins (seeing as private repos would cost me).

botguy will continue to evolve until he either

  1. Reaches completion (likelihood: 0-1%)
  2. Is abandoned by me (likelihood: 10-20%)
  3. Is abandoned when our group disintigrates or finally migrates to a better group chat platform not supported by Microsoft's botframework (likelihood: 0-10%)

If this repo looks dead, one of these three things probably happened, even though I gave each a relativley low chance.

I'll try to keep this readme updated with botguy's most salient features, though the most up-to-date description of what botguy does will likely be in the help file (help.js).

This bot has been created using Bot Framework.

Prerequisites

  • Node.js version 10.14.1 or higher

    # determine node version
    node --version

To run the bot

  • Install modules

    npm install
  • Start the bot

    npm start

Testing the bot using Bot Framework Emulator

Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.

  • Install the Bot Framework Emulator version 4.9.0 or greater from here

Connect to the bot using Bot Framework Emulator

  • Launch Bot Framework Emulator
  • File -> Open Bot
  • Enter a Bot URL of http://localhost:3978/api/messages

Deploy the bot to Azure

Publishing Changes to Azure Bot Service

```bash
# build the TypeScript bot before you publish
npm run build
```

To learn more about deploying a bot to Azure, see Deploy your bot to Azure for a complete list of deployment instructions.

Further reading

About

skype? bot

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages