]> ruin.nu Git - NDIRC.git/blobdiff - Delling.pm
Update for new Mojo::Discord compatibility
[NDIRC.git] / Delling.pm
index 545df2fdc8aeaab7b886ac415422ad42ff4882da..fea261ed48246afc4200fede1883a350f1246534 100644 (file)
@@ -220,8 +220,7 @@ after _start => sub {
 };
 
 after discord_message_create => sub {
-       my $self = shift;
-       my $hash = shift;
+       my ($self, $gw, $hash) = @_;
 
        my $author = $hash->{author};
        my $msg = $hash->{content};