From 92fb63088c306d00fb4957ed821f311d71a4821b Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Sat, 27 Aug 2022 04:59:17 +0200 Subject: [PATCH] donate command: s/Price/Amount/ --- plugins/unlisted | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/unlisted b/plugins/unlisted index 02709bf..5888190 100644 --- a/plugins/unlisted +++ b/plugins/unlisted @@ -6,7 +6,8 @@ sub command :Tab(unlisted,donate) ($self, $cart, $command, @) { $command eq 'unlisted' or $command eq 'donate' or return NEXT; $self->{command} = $command; - return "Price", \&amount; + my $prompt = $command eq 'donate' ? 'Amount' : 'Price'; + return $prompt, \&amount; } sub amount($self, $cart, $arg, @) {