Wubot::Reactor::Icon - search for an appropriate icon for a message
version 0.1_9
- name: icon plugin: Icon config: image_dir: /Users/your_id/.icons
Attempts to find a suitable image for a message by looking for a file in the icon directory that matches a field on the message:
- 'image' field - 'username' field - monitor key - monitor plugin name - monitor instance name
If no suitable icon can be found, then the image field will be set to 'wubot.png'.
Note that the Icon plugin no longer tries to parse any information in the username field. It is highly recommended that you use the User reactor plugin prior to using the Icon plugin so that the username field is parsed appropriately.
For more information, please see the 'notifications' document.
To install Wubot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wubot
CPAN shell
perl -MCPAN -e shell install Wubot
For more information on module installation, please visit the detailed CPAN module installation guide.