Feature/4 add data delete on guild remove #7
@@ -22,6 +22,7 @@ export default async function execute(args: string[]) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            console.log(`Guild ${args[1]}:
 | 
					            console.log(`Guild ${args[1]}:
 | 
				
			||||||
    - Premium: ${isPremium ? `ACTIVE for ${moment(settings.isPremiumUntil).fromNow(true)}` : "INACTIVE"}
 | 
					    - Premium: ${isPremium ? `ACTIVE for ${moment(settings.isPremiumUntil).fromNow(true)}` : "INACTIVE"}
 | 
				
			||||||
 | 
					    - Preserve Settings: ${settings.preserveDataOnGuildLeave ? "ENABLED" : "DISABLED"}
 | 
				
			||||||
    - Logchannel: ${settings.notificationChannelID ? `ENABLED (${settings.notificationChannelID})` : "DISABLED"}
 | 
					    - Logchannel: ${settings.notificationChannelID ? `ENABLED (${settings.notificationChannelID})` : "DISABLED"}
 | 
				
			||||||
    - blocked Words: ${wordCount}`);
 | 
					    - blocked Words: ${wordCount}`);
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@ import { SlashCommandBuilder, ChatInputCommandInteraction, PermissionFlagsBits }
 | 
				
			|||||||
import { database, GuildSetting } from "../data";
 | 
					import { database, GuildSetting } from "../data";
 | 
				
			||||||
import { getGuildSetting } from "../tools/data";
 | 
					import { getGuildSetting } from "../tools/data";
 | 
				
			||||||
import getDefaultEmbed, { getSuccessEmbed } from "../tools/defaultEmbeds";
 | 
					import getDefaultEmbed, { getSuccessEmbed } from "../tools/defaultEmbeds";
 | 
				
			||||||
import { Color, Emoji } from "../tools/design";
 | 
					import { Emoji } from "../tools/design";
 | 
				
			||||||
import { getGuildChannel } from "../tools/discord";
 | 
					import { getGuildChannel } from "../tools/discord";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const builder = new SlashCommandBuilder();
 | 
					const builder = new SlashCommandBuilder();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user