Added transfer command (/transfer) + new stats
With this command you're able to transfer the ticket ownership to another person in the server.
This commit is contained in:
@@ -673,6 +673,7 @@ const main = async () => {
|
||||
await (await import("./commands/autodelete.js")).registerCommandResponders()
|
||||
await (await import("./commands/topic.js")).registerCommandResponders()
|
||||
await (await import("./commands/priority.js")).registerCommandResponders()
|
||||
await (await import("./commands/transfer.js")).registerCommandResponders()
|
||||
}
|
||||
await opendiscord.events.get("onCommandResponderLoad").emit([opendiscord.responders.commands,opendiscord.responders,opendiscord.actions])
|
||||
await opendiscord.events.get("afterCommandRespondersLoaded").emit([opendiscord.responders.commands,opendiscord.responders,opendiscord.actions])
|
||||
@@ -761,6 +762,7 @@ const main = async () => {
|
||||
await (await import("./actions/clearTickets.js")).registerActions()
|
||||
await (await import("./actions/updateTicketTopic.js")).registerActions()
|
||||
await (await import("./actions/updateTicketPriority.js")).registerActions()
|
||||
await (await import("./actions/transferTicket.js")).registerActions()
|
||||
}
|
||||
await opendiscord.events.get("onActionLoad").emit([opendiscord.actions])
|
||||
await opendiscord.events.get("afterActionsLoaded").emit([opendiscord.actions])
|
||||
|
||||
Reference in New Issue
Block a user