Finished channel topic feature

This commit is contained in:
DJj123dj
2025-10-28 13:24:08 +01:00
parent 8413d3c2b7
commit e8f96ef84f
11 changed files with 38 additions and 3 deletions
+3
View File
@@ -48,6 +48,9 @@ export const registerActions = async () => {
if (params.sendMessage) await channel.send((await opendiscord.builders.messages.getSafe("opendiscord:remove-message").build(source,{guild,channel,user,ticket,reason,data})).message)
ticket.get("opendiscord:busy").value = false
await opendiscord.events.get("afterTicketUserRemoved").emit([ticket,user,data,channel,reason])
//update channel topic
await opendiscord.actions.get("opendiscord:update-ticket-topic").run("ticket-action",{guild,channel,user,ticket,sendMessage:false,newTopic:null})
}),
new api.ODWorker("opendiscord:discord-logs",1,async (instance,params,source,cancel) => {
const {guild,channel,user,ticket,reason,data} = params