I want get $user take loginID #1734
KurageChaplin
started this conversation in
3. Feedback & Suggestions
Replies: 1 comment
-
In Firebot v5.62, which is currently in beta, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I asked for help on Discord and was unable to access the Twitch API with the name I got from $user.
I found out the reason why, users who have alias names set can only get alias names using $user.
The $user will only get the alias name of the Twitch.
The alias name is a double-byte character, such as Japanese.
Therefore, you cannot send a request to the TwitchAPI.
To solve this, you need to have FireBOT create a command that calls loginID directly on its side.
Translated with www.DeepL.com/Translator (free version)
--original japanese--
Discordでヘルプをお願いしたところ、$userで取得した名前でTwitchのAPIにアクセスすることができませんでした。
理由を調べたところ、エイリアス名を設定しているユーザーは$userを使うとエイリアス名しか取得できません。
$userはTwitchのエイリアス名しか取得してくれません。
エイリアス名は日本語などの、2バイト文字です。
そのため、TwitchAPIにリクエストを送ることができません。
これを解決するには、FireBOT側で直接loginIDを呼び出すコマンドを作成してもらう必要があります。
Beta Was this translation helpful? Give feedback.
All reactions