Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Files

Latest commit

fd5912d · Sep 10, 2015

History

History

me-does

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 7, 2015
Sep 10, 2015
Jan 16, 2015

/me Does

Format /me messages, implementing XEP-0245

Usage

Include the JavaScript file:

<script type="text/javascript" src="candyshop/me-does/candy.js"></script>

Call its init() method after Candy has been initialized:

Candy.init('/http-bind/', {});

// enable /me handling
CandyShop.MeDoes.init();

Candy.Core.connect();

Now all messages starting with '/me 'will use infoMessage formatting.

/me takes screenshot

Color Picker

Please note: As me-does reroutes message output, it's call to init() should happen after the init() of most other plugins, including, inline-images.