// 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();
//     }
// }


import botrino.api.i18n.Translator;
import discord4j.core.object.entity.Message;
import reactor.core.publisher.Mono;
import reactor.core.publisher.Sinks;
import reactor.util.Logger;
import reactor.util.Loggers;
import ultimategdbot.Strings;
import java.time.Duration;
package ultimategdbot.event;



class CrosspostQueue {
	
	private static final Logger LOGGER = Loggers.getLogger(CrosspostQueue.class);
	
	private final Translator tr;

    CrosspostQueue(Translator tr) {
        this.tr = tr;
    }

    void submit(Message message, Object event) {
		var crosspostCompletion = Sinks.empty();
		var warnDelayed = Mono.firstWithSignal(crosspostCompletion.asMono(), Mono
                .delay(Duration.ofSeconds(10))
				.flatMap(__ -> message.getChannel())
				.flatMap(channel -> channel.createMessage(":warning: " + tr
// 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/event/CrosspostQueue.java
import botrino.api.i18n.Translator;
import discord4j.core.object.entity.Message;
import reactor.core.publisher.Mono;
import reactor.core.publisher.Sinks;
import reactor.util.Logger;
import reactor.util.Loggers;
import ultimategdbot.Strings;
import java.time.Duration;

package ultimategdbot.event;



class CrosspostQueue {
	
	private static final Logger LOGGER = Loggers.getLogger(CrosspostQueue.class);
	
	private final Translator tr;

    CrosspostQueue(Translator tr) {
        this.tr = tr;
    }

    void submit(Message message, Object event) {
		var crosspostCompletion = Sinks.empty();
		var warnDelayed = Mono.firstWithSignal(crosspostCompletion.asMono(), Mono
                .delay(Duration.ofSeconds(10))
				.flatMap(__ -> message.getChannel())
				.flatMap(channel -> channel.createMessage(":warning: " + tr
						.translate(Strings.GD, "gdevents_crosspost_delayed"))));