public void resetGame() { Game game = config.getGame()==null || config.getGame().getName().equalsIgnoreCase("none") ? null : config.getGame(); if(!Objects.equals(jda.getPresence().getGame(), game)) jda.getPresence().setGame(game); }
public void resetGame() { Game game = config.getGame()==null || config.getGame().getName().equalsIgnoreCase("none") ? null : config.getGame(); if(!Objects.equals(jda.getPresence().getGame(), game)) jda.getPresence().setGame(game); }