cutthecord/resources/patches/slashcommands/code/src/main/java/com/cutthecord/commands/commands/CmdSpoilerImg.java

18 lines
444 B
Java

package com.cutthecord.commands.commands;
import com.discord.stores.StoreStream;
public class CmdSpoilerImg {
public String handleCommand(String msg) {
// TODO StoreStream.getUserSettings().setImageSpoiler(true);
return msg;
}
public String getPopupInfo() {
return "Prepends SPOILER_ to names of all images attached to the message that starts with this, causing them to get marked as spoiler";
}
}