3.0 update!

This commit is contained in:
DJj123dj
2022-10-07 16:32:29 +02:00
parent bfc02611c7
commit 95bc1f4fbf
19 changed files with 217 additions and 168 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ exports.NEWcloseTicket = async (member,channel,prefix,mode,reason,nomessage) =>
if (enableTranscript == true && mode != "deletenotranscript"){
const transcriptReason = (mode == "close") ? "**"+l.messages.reason+":** "+newReason : "**"+l.messages.reason+":** "+l.messages.none
const closedByPrefix = (mode.startsWith("delete")) ? "deleted by" : "closed by"
const closedByPrefix = (mode.startsWith("delete")) ? l.messages.deletedby : l.messages.closedby
if (config.system.enable_transcript || config.system.enable_DM_transcript){
var fileattachment = await require("../transcript").createTranscript(channelmessages,channel)