diskyで特定のロールを持っているか調べたい。
MCIDとdiscordのidを紐づけて、特定のロールを持っていたら参加メッセージを変更したいです。
問題のコード
{discord.id.%UUID of player%}にはdiscordのユーザーidが入っています(881821076601069589)
エラー
原因がわかる方いましたら、教えていただけると幸いです。

2 Replies
retrieve user with id "%{discord.id.%uuid of player%}%" from なんかのbot and store it in {_user}
if {_user} has discord role with id~~
いやこれちがうな?
こうだね
roles of %member%はリストなのでcontainsで条件式書ける
discord role with idは多分vixioとかの構文なのでdiscordを省いたら通ります
https://disky.me/docs/docs/types/
ドキュメント
動きました!ありがとうございます!