3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-11 12:32:37 +01:00

Plugins/Wolfram: add nick to all output

This commit is contained in:
Pragmatic Software 2021-07-06 19:20:07 -07:00
parent d844d8e36d
commit 630a24db7c

View File

@ -53,10 +53,10 @@ sub cmd_wolfram {
return "$context->{nick}: " . $response->decoded_content; return "$context->{nick}: " . $response->decoded_content;
} }
elsif ($response->code eq 501) { elsif ($response->code eq 501) {
return "I don't know what that means."; return "$context->{nick}: I don't know what that means.";
} }
else { else {
return "Failed to query Wolfram|Alpha: " . $response->status_line; return "$context->{nick}: Failed to query Wolfram|Alpha: " . $response->status_line;
} }
} }