// Path: app/src/main/java/ultimategdbot/Strings.java
// public final class Strings {
// 
//     public static final String GENERAL = "GeneralStrings";
//     public static final String GD = "GDStrings";
// 
//     private Strings() {
//         throw new AssertionError();
//     }
// }
// 
// Path: app/src/main/java/ultimategdbot/util/Resources.java
// public final class Resources {
// 	
// 	private static final String UGDB_GIT_RESOURCE = "META-INF/git/ultimategdbot.git.properties";
// 
// 	public static Properties ugdbGitProperties() {
// 	    try {
//             var props = new Properties();
//             try (var stream = ClassLoader.getSystemResourceAsStream(UGDB_GIT_RESOURCE)) {
//                 if (stream != null) {
//                     props.load(stream);
//                 }
//             }
//             return props;
//         } catch (IOException e) {
// 	        throw new UncheckedIOException(e);
//         }
// 	}
// 
// 	public static String about() {
// 	    try {
// 	        return Files.readString(Path.of(".", "about.txt"));
//         } catch (IOException e) {
// 	        throw new UncheckedIOException(e);
//         }
//     }
// 	
// 	private Resources() {
// 		throw new AssertionError();
// 	}
// }


import botrino.api.Botrino;
import botrino.api.i18n.Translator;
import botrino.interaction.annotation.ChatInputCommand;
import botrino.interaction.context.ChatInputInteractionContext;
import botrino.interaction.listener.ChatInputInteractionListener;
import com.github.alex1304.rdi.finder.annotation.RdiFactory;
import com.github.alex1304.rdi.finder.annotation.RdiService;
import discord4j.common.GitProperties;
import discord4j.core.object.entity.ApplicationInfo;
import discord4j.core.object.entity.User;
import org.reactivestreams.Publisher;
import reactor.core.publisher.Mono;
import ultimategdbot.Strings;
import ultimategdbot.util.Resources;
import java.util.HashMap;
import java.util.Optional;
import java.util.Properties;
import static reactor.function.TupleUtils.function;
package ultimategdbot.command;




@RdiService
@ChatInputCommand(name = "about", description = "Show information about the bot itself.")
public final class AboutCommand implements ChatInputInteractionListener {

    private static final Properties D4J_PROPS = GitProperties.getProperties();
// Path: app/src/main/java/ultimategdbot/Strings.java
// public final class Strings {
// 
//     public static final String GENERAL = "GeneralStrings";
//     public static final String GD = "GDStrings";
// 
//     private Strings() {
//         throw new AssertionError();
//     }
// }
// 
// Path: app/src/main/java/ultimategdbot/util/Resources.java
// public final class Resources {
// 	
// 	private static final String UGDB_GIT_RESOURCE = "META-INF/git/ultimategdbot.git.properties";
// 
// 	public static Properties ugdbGitProperties() {
// 	    try {
//             var props = new Properties();
//             try (var stream = ClassLoader.getSystemResourceAsStream(UGDB_GIT_RESOURCE)) {
//                 if (stream != null) {
//                     props.load(stream);
//                 }
//             }
//             return props;
//         } catch (IOException e) {
// 	        throw new UncheckedIOException(e);
//         }
// 	}
// 
// 	public static String about() {
// 	    try {
// 	        return Files.readString(Path.of(".", "about.txt"));
//         } catch (IOException e) {
// 	        throw new UncheckedIOException(e);
//         }
//     }
// 	
// 	private Resources() {
// 		throw new AssertionError();
// 	}
// }


// Path: app/src/main/java/ultimategdbot/command/AboutCommand.java
import botrino.api.Botrino;
import botrino.api.i18n.Translator;
import botrino.interaction.annotation.ChatInputCommand;
import botrino.interaction.context.ChatInputInteractionContext;
import botrino.interaction.listener.ChatInputInteractionListener;
import com.github.alex1304.rdi.finder.annotation.RdiFactory;
import com.github.alex1304.rdi.finder.annotation.RdiService;
import discord4j.common.GitProperties;
import discord4j.core.object.entity.ApplicationInfo;
import discord4j.core.object.entity.User;
import org.reactivestreams.Publisher;
import reactor.core.publisher.Mono;
import ultimategdbot.Strings;
import ultimategdbot.util.Resources;
import java.util.HashMap;
import java.util.Optional;
import java.util.Properties;
import static reactor.function.TupleUtils.function;

package ultimategdbot.command;




@RdiService
@ChatInputCommand(name = "about", description = "Show information about the bot itself.")
public final class AboutCommand implements ChatInputInteractionListener {

    private static final Properties D4J_PROPS = GitProperties.getProperties();
    private static final Properties UGDB_PROPS = Resources.ugdbGitProperties();