I don't know what is not working but it says cannot understand condition: if %member% has the role %donator%
Code:
discord command account:
prefixes: .
trigger:
if {discord::%discord id of event-member%::username} is set:
if %member% has the role %donator%:
create embed:
set color of the embed to Blue
set title of the embed to "Account Info"
set the description of the embed to "Minecraft user: **%{discord::%discord id of event-member%::username}%** linked to Discord member: **%event-user%**|Donator: :white_check_mark:"
set {_infoembed} to last made embed
send the last created embed to event-channel with event-bot
delete {_infoembed}
else:
create embed:
set color of the embed to Red
set title of the embed to "Account Not Linked"
set the description of the embed to "Your account has not been linked yet. Look at the pinned messages to see how to link your account"
set {_notlinkedembed} to last made embed
send the last created embed to event-channel with event-bot
delete {_notlinkedembed}