Update cli guild info command

This commit is contained in:
Lukas | AstroGD 2022-11-25 17:46:39 +01:00
parent fda6166483
commit 71b401dbee
Signed by: AstroGD
GPG Key ID: 82A5E6C236C535AA
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ export default async function execute(args: string[]) {
console.log(`Guild ${args[1]}:
- Premium: ${isPremium ? `ACTIVE for ${moment(settings.isPremiumUntil).fromNow(true)}` : "INACTIVE"}
- Preserve Settings: ${settings.preserveDataOnGuildLeave ? "ENABLED" : "DISABLED"}
- Logchannel: ${settings.notificationChannelID ? `ENABLED (${settings.notificationChannelID})` : "DISABLED"}
- blocked Words: ${wordCount}`);
break;

View File

@ -2,7 +2,7 @@ import { SlashCommandBuilder, ChatInputCommandInteraction, PermissionFlagsBits }
import { database, GuildSetting } from "../data";
import { getGuildSetting } from "../tools/data";
import getDefaultEmbed, { getSuccessEmbed } from "../tools/defaultEmbeds";
import { Color, Emoji } from "../tools/design";
import { Emoji } from "../tools/design";
import { getGuildChannel } from "../tools/discord";
const builder = new SlashCommandBuilder();