protected void setAttributesByShortcut(String shortcut, TimeBanBanCommand command) {
        ConfigurationSection shortcuts = config.getConfigurationSection("shortcuts");

        // configure reason
        String reason = shortcuts.getConfigurationSection(shortcut).getString("reason");
        if (reason == null || reason.isEmpty()) {
            command.setReason(stdBanReason);
        } else {
            command.setReason(reason);
        }

        // configure duration
        String durationRaw = shortcuts.getConfigurationSection(shortcut).getString("duration");
        if (durationRaw == null || durationRaw.isEmpty()) {
            command.setUntil(UntilStringParser.parse(stdBanDuration));
        } else {
            command.setUntil(UntilStringParser.parse(durationRaw));
        }
    }