@Override
	public void run() {
		StringBuilder sb = new StringBuilder();
		try {
			ArrayList<String> c = api.getCoupons();
			if (c.isEmpty() || c.size() <= 0 || c == null) {
				sender.sendMessage(ChatColor.RED+"No coupons found.");
				return;
			} else {
				sb.append(ChatColor.DARK_PURPLE+"Coupon list: "+ChatColor.GOLD);
				for (int i = 0; i < c.size(); i++) {
					sb.append(c.get(i));
					if (!(Integer.valueOf(i+1).equals(c.size()))){
						sb.append(", ");
					}
				}
				sender.sendMessage(sb.toString());
				return;
			}
		} catch (SQLException e) {
			sender.sendMessage(ChatColor.DARK_RED+"Error while getting the coupon list from the database. Please check the console for more info.");
			sender.sendMessage(ChatColor.DARK_RED+"If this error persists, please report it.");
			e.printStackTrace();
			return;
		}
	}