date based repetition

This commit is contained in:
mightypanders
2022-04-21 19:46:03 +02:00
parent 19f0dccaec
commit 85770a6031
3 changed files with 49 additions and 7 deletions

View File

@ -1,9 +1,8 @@
import { GuildScheduledEvent } from "discord.js"
import { repetitionMarkerIsFound } from "../handler/repeatingEvents/helper"
import { handleRepeatingEvent } from "../handler/repeatingEvents/repeatingEvents.controller"
const repetitionMarkerIsFound = (desc: string): boolean => desc.includes('$rep')
export const name = 'guildScheduledEventUpdate'
export function execute(oldguildScheduledEvent: GuildScheduledEvent, newguildScheduledEvent: GuildScheduledEvent) {
console.dir(oldguildScheduledEvent)