Updated all files to new interfaces
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Event } from "interfaces"
|
||||
import { IEvent } from "interfaces"
|
||||
import { ExtendedClient as Client } from "utils/Client"
|
||||
import color from "utils/functions/colors"
|
||||
|
||||
@@ -10,4 +10,4 @@ export = {
|
||||
execute(client: Client) {
|
||||
console.log(color("Logged in as " + client.user!.tag + "!", "green"))
|
||||
}
|
||||
} as Event
|
||||
} as IEvent
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import logToChannel from "utils/functions/logtochannel"
|
||||
import { Event } from "interfaces"
|
||||
import { IEvent } from "interfaces"
|
||||
import { embedColor } from "config/options"
|
||||
|
||||
export = {
|
||||
@@ -17,4 +17,4 @@ export = {
|
||||
}]
|
||||
})
|
||||
}
|
||||
} as Event
|
||||
} as IEvent
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import statuses from "config/statuses"
|
||||
import { Event } from "interfaces"
|
||||
import { IEvent } from "interfaces"
|
||||
import { ExtendedClient as Client } from "utils/Client"
|
||||
|
||||
export = {
|
||||
@@ -27,4 +27,4 @@ export = {
|
||||
|
||||
user.setStatus("dnd")
|
||||
}
|
||||
} as Event
|
||||
} as IEvent
|
||||
|
||||
Reference in New Issue
Block a user