https://github.com/brunolm/skypemanager
SkypeBOT
https://github.com/brunolm/skypemanager
Last synced: 3 months ago
JSON representation
SkypeBOT
- Host: GitHub
- URL: https://github.com/brunolm/skypemanager
- Owner: brunolm
- Created: 2014-06-14T01:18:40.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-26T01:10:47.000Z (about 11 years ago)
- Last Synced: 2023-03-27T11:47:42.691Z (over 2 years ago)
- Language: C#
- Size: 2.64 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SkypeManager
============This project is basically a BOT for Skype. Commands sent on a chat with/to the person running the BOT will trigger it.
A command is a method in a "*.Provider.dll" file which should be located in "Providers" folder on the application's folder.
SkypeManager.exe
Providers
|- DefaultProvider.dllTo trigger a command you must send the message with the command preffix set on SkypeCommands class followed by the method name. Example:
//Youtube
This input will trigger an event on the BOT which will load all "*Provider.dll" files and search for the method "Youtube" and then execute it in a new thread.
To create new commands you can modify one of the existing providers in this solution and add a new method, for example:
public void WhatTimeIsIt(Command cmd)
{
cmd.ReplyChat(DateTime.Now.ToString("HH:mm:ss"));
}Or you can create a new provider by creating a new Class Library (its name must end with "Provider") and add a reference to SkypeCommander project. Your provider class must inherit from `CommandProvider`. After compiling remember to copy the DLL to the "Providers" folder, or go to the project settings > build > and change the outpath to the providers folder directly.