summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games.pm
Commit message (Collapse)AuthorAgeFilesLines
* oops, why did i remove thisJesse Luehrs2009-10-311-0/+10
|
* make Bot::Games handle instantiating an IM::Engine object from configJesse Luehrs2009-10-311-3/+184
|
* convert Bot::Games to use IM::Engine::Plugin::CommandsJesse Luehrs2009-10-311-157/+3
|
* active_games shouldn't be able to be set in the constructorJesse Luehrs2009-08-161-4/+5
|
* it'd be nice to know if we actually succeed at loading our plugin...Jesse Luehrs2009-06-021-0/+5
|
* set aside Bot::Games::Game::Role for roles shared among pluginsJesse Luehrs2009-06-021-0/+1
|
* better way of getting the package of a gameJesse Luehrs2009-06-011-1/+2
|
* MooseX::NonMoose takes care of thisJesse Luehrs2009-06-011-1/+1
|
* move the code for getting a command into the command class traitJesse Luehrs2009-06-011-12/+1
|
* the games themselves keep track of whether or not they are active, don't ↵doy2009-04-271-11/+3
| | | | need to also track it in the bot
* invert the sense of the is_over attribute (make it is_active)doy2009-04-271-2/+2
|
* make is_over work properly as a commanddoy2009-04-271-0/+1
|
* ->meta->does_role, not ->does_roledoy2009-04-261-1/+1
|
* don't try to apply a formatter if the method metaclass doesn't do the roledoy2009-04-261-1/+2
|
* use the format rolesdoy2009-04-261-17/+3
|
* refactor say to allow arbitrary formattersdoy2009-04-261-3/+4
|
* more renamespacingdoy2009-04-261-1/+1
|
* renamespace a bunch of thingsdoy2009-04-261-1/+1
|
* force auto_deref attributes to their reference formdoy2009-04-261-2/+2
|
* modules don't need a #! linedoy2009-04-261-1/+0
|
* get rid of the 'ghostlike' abstract base, and have other ghostlike games ↵doy2009-04-241-1/+0
| | | | just inherit from ghost directly
* use MooseX::NonMoosedoy2009-04-241-8/+1
|
* game_list should just return the array, let said() do the formattingdoy2009-01-261-3/+3
|
* force game name to lowercasedoy2009-01-261-1/+1
|
* oops, need lazydoy2009-01-261-0/+1
|
* allow abbreviations and aliases for game namesdoy2009-01-261-1/+23
|
* sort the lists of games and commandsdoy2009-01-251-2/+2
|
* add @help foo as an alias for @foo -helpdoy2009-01-251-0/+5
|
* add @games to list available gamesdoy2009-01-251-0/+7
|
* need to call BUILDALL on $self, not $classdoy2009-01-251-1/+7
|
* need to catch the proper arguments to be passing back to $self->say each timedoy2009-01-251-2/+4
|
* also reset done_init after games enddoy2009-01-251-2/+4
|
* make moose actually call BUILDdoy2009-01-251-1/+2
|
* defer make_immutable on Bot::Games::Game until after we have added the say ↵doy2009-01-251-16/+2
| | | | method
* set up $say in BUILD, and only install it as a method into Bot::Games::Game, ↵doy2009-01-251-5/+12
| | | | rather than into each game individually
* return after errordoy2009-01-251-0/+1
|
* don't use is_over for holding the ending message, just return it or use ↵doy2009-01-251-4/+2
| | | | $self->say
* reorganizingdoy2009-01-251-24/+24
|
* whitespacedoy2009-01-251-1/+1
|
* don't warn here, since we'll be calling _add_method on every new instance of ↵doy2009-01-251-4/+1
| | | | the game
* can't just add methods directly to plugins, since they will probably already ↵doy2009-01-251-1/+19
| | | | be immutable - handle this
* don't automatically call the init method if a needs_init command is called - ↵doy2009-01-251-3/+3
| | | | just print a warning and ignore it
* allow marking commands as requiring an init call before being called - ↵doy2009-01-251-0/+4
| | | | default everything to this
* format the message body in the extended say syntax toodoy2009-01-251-1/+4
|
* allow passing more information to say (to allow plugins to send private ↵doy2009-01-251-1/+5
| | | | messages, for instance)
* install $self->say into plugins as they are loadeddoy2009-01-251-0/+1
|
* allow $say to be called as a method (while still using B::BB's $self) to ↵doy2009-01-251-6/+6
| | | | allow installing it in plugins and using it from there as $self->say
* since i'm calling ->execute explicitly now, can move the pass_args stuff out ↵doy2009-01-251-7/+2
| | | | to the command role
* don't output the return value of $game->turn if it returns ''doy2009-01-251-1/+5
|
* make sure $action is defined before matching against itdoy2009-01-251-1/+2
|