I don't know why this happen but I have recently updated my Disky version and it seems to be causing problems
This is my code:
function discordPostLog(msg: string, type: string, p: player):
if {_type} is "link":
make embed:
set title of embed to "Link Logs"
set author of embed to "%{_p}%"
set description of embed to {_msg}
set author icon of embed to "https://minotar.net/helm/%{_p}%.png"
set embed color of the embed to green
set timestamp of embed to now
set footer of embed to "AFKMining"
post last embed to channel with id "1244341058037350471"
else if {_type} is "item-stat":
make embed:
set title of embed to "Stat Logs"
set author of embed to "%{_p}%"
add {_msg}, "New Balance: %{balance::%{_p}'s uuid%}%", "Current Tool Level: %{toolLevel::%{_p}'s uuid%}%", "Current Prestige: %{prestige::%{_p}'s uuid%} ? 0%", "Current Grade: %{grade::%{_p}'s uuid%} ? 0%" and "Multipliers: **XP** %getXPMultiplier({_p})%x ||-----|| **Money** %getMoneyMultiplier({_p})%x" to {_l::*}
set description of embed to join {_l::*} with nl
set author icon of embed to "https://minotar.net/helm/%{_p}%.png"
set embed color of the embed to black
set timestamp of embed to now
set footer of embed to "AFKMining"
post last embed to channel with id "1244341124462674075"
Acknowledgment
I have read the error correctly, and I'm sure it's directly a DiSky problem.
I have searched for similar bugs on the Issues tab
Versions
v4.17.2
v2.8.6
v1.20.4
Description
I don't know why this happen but I have recently updated my Disky version and it seems to be causing problems This is my code:
Acknowledgment