# Pastebin 2XHcP3bR + rose.p6 (23 - 27) | react { | whenever $discord.messages -> $message { | my $guild = $message.channel.result.guild.result; | my $toxicity = $perspective.submit(:content($message.content)); | > + rose.p6 (24 - 28) | whenever $discord.messages -> $message { | my $guild = $message.channel.result.guild.result; | my $toxicity = $perspective.submit(:content($message.content)); | | if ($message.content ~~ / ^ "%configuration" /) { > + Exception Thrown | reached end of string when looking for something + rose.p6 (24 - 28) | whenever $discord.messages -> $message { | my $guild = $message.channel.result.guild.result; | my $toxicity = $perspective.submit(:content($message.content)); | | if ($message.content ~~ / ^ "%configuration" /) { > + Exception Thrown | Died + rose.p6 (24 - 28) | whenever $discord.messages -> $message { | my $guild = $message.channel.result.guild.result; | my $toxicity = $perspective.submit(:content($message.content)); | | if ($message.content ~~ / ^ "%configuration" /) { > + rose.p6 (26 - 30) | my $toxicity = $perspective.submit(:content($message.content)); | | if ($message.content ~~ / ^ "%configuration" /) { | my $c = $message.content; | $c ~~ s/ ^ "%configuration" //; > + rose.p6 (27 - 31) | | if ($message.content ~~ / ^ "%configuration" /) { | my $c = $message.content; | $c ~~ s/ ^ "%configuration" //; | my %payload = > + rose.p6 (28 - 32) | if ($message.content ~~ / ^ "%configuration" /) { | my $c = $message.content; | $c ~~ s/ ^ "%configuration" //; | my %payload = | guild => $message.channel.result.guild.result, > + rose.p6 (29 - 38) | my $c = $message.content; | $c ~~ s/ ^ "%configuration" //; | my %payload = | guild => $message.channel.result.guild.result, | channel => $message.channel.result, | user => $message.author, | message => $message, | ; | my %response = $commands.despatch($c, :%payload); | $message.channel.result.send-message(|%response); > + rose.p6 (35 - 39) | message => $message, | ; | my %response = $commands.despatch($c, :%payload); | $message.channel.result.send-message(|%response); | } else { > [id] + rose.p6 (36 - 40) | ; | my %response = $commands.despatch($c, :%payload); | $message.channel.result.send-message(|%response); | } else { | $psql.insert-record(:$guild, :$message, :$toxicity); > Use of uninitialized value of type Any in string context. Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful. in sub endpoint-for at /home/kane/Projects/shuppet/p6-api-discord/lib/API/Discord/Endpoints.pm6 (API::Discord::Endpoints) line 109 [False] Unhandled exception in code scheduled on thread 7 No such method 'False' for invocant of type 'API::Discord::Channel' in block at /home/kane/Projects/shuppet/p6-api-discord/lib/API/Discord/Endpoints.pm6 (API::Discord::Endpoints) line 116 in sub endpoint-for at /home/kane/Projects/shuppet/p6-api-discord/lib/API/Discord/Endpoints.pm6 (API::Discord::Endpoints) line 111 in block at /home/kane/Projects/shuppet/p6-api-discord/lib/API/Discord/Channel.pm6 (API::Discord::Channel) line 153