This commit is contained in:
anthorob committed 2022-01-07 13:21:54 -05:00
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();