Skip to content

Commit

Permalink
Refactoriser createradio.ts pour supprimer l'import inutilisé et le j…
Browse files Browse the repository at this point in the history
…ournal de débogage

Signed-off-by: wiibleyde <nathan@bonnell.fr>
  • Loading branch information
Wiibleyde committed Oct 21, 2024
1 parent d210a2d commit fa126d8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/commands/hope/createradio.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { logger } from "@/index";
import { prisma } from "@/utils/database";
import { errorEmbed, successEmbed } from "@/utils/embeds";
import { PermissionUtils } from "@/utils/permissionTester";
Expand All @@ -24,7 +23,6 @@ export async function execute(interaction: CommandInteraction) {
}
const guildId = interaction.guildId as string
const serviceName = interaction.options.get("nom")?.value as string
logger.debug(`Prisma: ${prisma}`)
const isRadioExist = await prisma.radioData.findFirst({
where: {
botMessageData: {
Expand Down

0 comments on commit fa126d8

Please sign in to comment.