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:
parent
d844d8e36d
commit
630a24db7c
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user