impl member join and leave logs
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 41s

This commit is contained in:
Lee
2024-07-02 18:31:18 +01:00
parent 8ce3a5d25c
commit e03aef0ad5
8 changed files with 75 additions and 19 deletions

View File

@ -1,7 +1,6 @@
package cc.fascinated.bat.features.logging;
import cc.fascinated.bat.command.Category;
import cc.fascinated.bat.common.EmbedUtils;
import cc.fascinated.bat.common.PasteUtils;
import cc.fascinated.bat.features.Feature;
import cc.fascinated.bat.features.base.profile.FeatureProfile;
@ -9,7 +8,6 @@ import cc.fascinated.bat.features.logging.command.LogsCommand;
import cc.fascinated.bat.model.BatGuild;
import cc.fascinated.bat.service.CommandService;
import lombok.NonNull;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.MessageEmbed;
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;
import org.springframework.beans.factory.annotation.Autowired;
@ -28,15 +26,6 @@ public class LogFeature extends Feature {
super.registerCommand(commandService, context.getBean(LogsCommand.class));
}
/**
* Creates an embed to use for logging
*
* @return the embed
*/
public EmbedBuilder baseLogEmbed() {
return EmbedUtils.genericEmbed();
}
/**
* Sends a log to the log channel
*