fix typo
This commit is contained in:
1 parent
696d989f7b
commit
5e5539914d
1 file changed
+1
-1
@@ -81,7 +81,7 @@ public class CryptoPriceCommand extends AbstractCommand {
|
|||||||
|
|
||||||
} catch (IOException | JSONException | IllegalArgumentException e) {
|
} catch (IOException | JSONException | IllegalArgumentException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
t.editMessage("Error getting ethereum price!").queue();
|
t.editMessage("Error getting price!").queue();
|
||||||
}
|
}
|
||||||
|
|
||||||
t.editMessage(String.format("The current price of %s in %s is %s$", args[0].toUpperCase(), currency, price)).queue();
|
t.editMessage(String.format("The current price of %s in %s is %s$", args[0].toUpperCase(), currency, price)).queue();
|
||||||
|
|||||||
Reference in new issue
Block a user