Skip to content

sysrage/cu-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 6, 2016
10ec382 · Aug 6, 2016
Aug 18, 2015
Sep 4, 2015
Aug 26, 2015
Oct 13, 2015
Aug 6, 2016
Sep 18, 2015
Jul 10, 2015
Aug 2, 2015
Sep 4, 2015
Oct 13, 2015

Repository files navigation

cu-chatbot.js

Chatbot for Camelot Unchained

This is a general-purpose bot written in Node.js for use with Camelot Unchained. The following functionalities exist:

  1. Monitoring for users joining the XMPP server or game client and sending them a Message of the Day (MOTD).
  2. Monitoring chat rooms for messages sent by CSE staff members and sending those messages to users not connected to the XMPP server.
  3. Providing chat-based commands to access the Camelot Unchained REST API.

Additional commands can easily be added in the chatCommands object at the top of the script.

Requires:

* The bluebird module is only required when using older versions of Node.js which don't have Promise support.

Optional:

  • node-pushover - Needed to send Pushover notifications.
  • node-applescript - Needed to send iMessage notifications. Requires OSX.
  • aws-sdk - Needed to send push notifications (SMS/email/etc.) via AWS SNS.

Much thanks to the CU Mod Squad for their help with learning Node.js.

Originally based on https://gist.github.com/powdahound/940969

server.js

OpenShift server script which provides a web interface to game statistics and starts the chatbot.

cu-rest.js

Interface object to the Camelot Unchained REST API.

About

⛔ [DEPRECATED] Chat bot for Camelot Unchained

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published