Fixed loopAll() async errors
This commit is contained in:
@@ -30,7 +30,7 @@ export const loadAllPermissions = async () => {
|
||||
})
|
||||
|
||||
//TICKET ADMINS
|
||||
openticket.tickets.forEach(async (ticket) => {
|
||||
openticket.tickets.loopAll(async (ticket) => {
|
||||
try {
|
||||
const channel = await openticket.client.fetchGuildTextChannel(mainServer,ticket.id.value)
|
||||
if (!channel) return
|
||||
|
||||
Reference in New Issue
Block a user