bug fix update v3.4.1

This commit is contained in:
DJj123dj
2023-06-17 12:16:23 +02:00
parent 6341f2f71b
commit c2307fd1ed
52 changed files with 300 additions and 189 deletions
@@ -71,7 +71,7 @@ exports.compile = (guild,channel,user,messagesInv,data) => {
const memberColor = msg.member ? msg.member.displayHexColor : "#ffffff"
messagesArray.push({
author:{
name:msg.author.tag,
name:msg.author.username,
id:Number(msg.author.id),
color:memberColor,
pfp:msg.author.displayAvatarURL()
@@ -106,7 +106,7 @@ exports.compile = (guild,channel,user,messagesInv,data) => {
creatorname:data.ticket.creatorname,
creatorid:Number(data.ticket.creatorid),
closedbyname:user.tag,
closedbyname:user.username,
closedbyid:Number(user.id),
closedtime:data.ticket.closedtime,
@@ -264,7 +264,7 @@ exports.compile = (guild,channel,user,messagesInv,data) => {
const authorColor = msg.member ? msg.member.displayHexColor.replace("#000000","#ffffff") : "#ffffff"
messagesArray.push({
author:{
name:msg.author.tag,
name:msg.author.username,
id:msg.author.id,
color:authorColor,
pfp:msg.author.displayAvatarURL(),
@@ -331,7 +331,7 @@ exports.compile = (guild,channel,user,messagesInv,data) => {
creatorid:data.ticket.creatorid,
creatorpfp:data.ticket.creatorpfp,
closedbyname:user.tag,
closedbyname:user.username,
closedbyid:user.id,
closedbypfp:user.displayAvatarURL(),