Code:
discord command !projeban <int> <text>:
trigger:
if arg 1 is set:
if arg 2 is set:
if id of event-user is "401796517247320064" or "911409078264266785":
ban member with id "%arg 1%" from guild with id "909168095321526293" due to "%arg-2%" as event-bot
ban member with id "%arg 1%" from guild with id "913736277877215272" due to "%arg-2%" as event-bot
ban member with id "%arg 1%" from guild with id "916411083361759273" due to "%arg-2%" as event-bot
make embed:
set color of the embed to color from rgb 0, 0, 255
set description of embed to "<:pushpin:891088246547816499> **Bir Kullanıcı Yasaklandı**"
set the footer of embed to footer with text "BlackList Services"
add field named "<:user:890266662606094406> Yasaklayan Yetkili:" with value "%mention tag of event-user%" to embed
add field named "<:user:890266662606094406> Yasaklanan Kullanıcı:" with value "%mention tag of arg 1%" to embed
add field named "<:chat:891088245146927125> Sebep:" with value "%arg 2%" to embed
send last created embed to event-channel with event-bot
make embed:
set color of the embed to color from rgb 255, 0, 0
set description of embed to "<:pushpin:891088246547816499> %mention tag of event-user% tarafından tüm projelerimizden **%arg 2%** sebebiyle kalıcı olarak uzaklaştırıldınız."
send last created embed to member with id "%arg-1%" with event-bot
else:
reply with "%mention tag of event-user%, doğru kullanım şu şekildedir;"
reply with "!projeban @kullanıcı sebep"
else:
reply with "%mention tag of event-user%, doğru kullanım şu şekildedir;"
reply with "!projeban @kullanıcı sebep"
Error:
event-types.user is not an item type (mcsatis.sk, line 8: if id of event-user is "401796517247320064" or "911409078264266785":')
Please help