30 lines
974 B
Java
30 lines
974 B
Java
package com.discord.stores;
|
|
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.util.Map;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: StoreApplicationCommands.kt */
|
|
public final class BuiltInCommands$createWrappedSlashCommand$1 extends o implements Function1<Map<String, ? extends Object>, String> {
|
|
public final /* synthetic */ String $wrapper;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public BuiltInCommands$createWrappedSlashCommand$1(String str) {
|
|
super(1);
|
|
this.$wrapper = str;
|
|
}
|
|
|
|
public final String invoke(Map<String, ? extends Object> map) {
|
|
m.checkNotNullParameter(map, "commandOptions");
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(this.$wrapper);
|
|
Object obj = map.get("message");
|
|
if (obj == null) {
|
|
obj = "";
|
|
}
|
|
sb.append(obj);
|
|
sb.append(this.$wrapper);
|
|
return sb.toString();
|
|
}
|
|
}
|