IRC::Bot::Hangman::Response::Profanity - Profanity hangman responses


IRC-Bot-Hangman documentation Contained in the IRC-Bot-Hangman distribution.

Index


Code Index:

NAME

Top

IRC::Bot::Hangman::Response::Profanity - Profanity hangman responses

SYNOPSIS

Top

See IRC::Bot::Hangman

DESCRIPTION

Top

This module is a plugin engine providing responses when a profanity has been muttered.

METHODS

Top

name()

This plugin name - 'profanity'

responses()

List of responses per type

AUTHOR

Top

Pierre Denis <pierre@itrelease.net>

http://www.itrelease.net/

COPYRIGHT

Top


IRC-Bot-Hangman documentation Contained in the IRC-Bot-Hangman distribution.
package IRC::Bot::Hangman::Response::Profanity;
use warnings::register;
use strict;



sub name () { 'profanity' }


sub responses {
  return {
    profanity => [
                  'No profanity please',
                  'This is a rather rude comment',
                  'Are you being rude?',
                  'This is shocking',
                 ],
  };
}

1;