summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/Trait/Class
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bot/Games/Trait/Class')
-rw-r--r--lib/Bot/Games/Trait/Class/Command.pm4
-rw-r--r--lib/Bot/Games/Trait/Class/Formatted.pm5
2 files changed, 4 insertions, 5 deletions
diff --git a/lib/Bot/Games/Trait/Class/Command.pm b/lib/Bot/Games/Trait/Class/Command.pm
index 462b9ea..8e70200 100644
--- a/lib/Bot/Games/Trait/Class/Command.pm
+++ b/lib/Bot/Games/Trait/Class/Command.pm
@@ -1,5 +1,5 @@
package Bot::Games::Trait::Class::Command;
-use Moose::Role;
+use Bot::Games::OO::Role;
after ((map { "add_${_}_method_modifier" } qw/before after around/) => sub {
my $self = shift;
@@ -28,6 +28,6 @@ sub get_command {
&& $method_meta->meta->does_role('Bot::Games::Trait::Method::Command');
}
-no Moose::Role;
+no Bot::Games::OO::Role;
1;
diff --git a/lib/Bot/Games/Trait/Class/Formatted.pm b/lib/Bot/Games/Trait/Class/Formatted.pm
index 403bba6..6c3092a 100644
--- a/lib/Bot/Games/Trait/Class/Formatted.pm
+++ b/lib/Bot/Games/Trait/Class/Formatted.pm
@@ -1,6 +1,5 @@
package Bot::Games::Trait::Class::Formatted;
-use Moose::Role;
-use MooseX::AttributeHelpers;
+use Bot::Games::OO::Role;
has default_formatters => (
metaclass => 'Collection::ImmutableHash',
@@ -22,6 +21,6 @@ sub _build_default_formatters {
}
}
-no Moose::Role;
+no Bot::Games::OO::Role;
1;