-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't use twitch commands in chat as moderator with twitchio. #384
Comments
Hello! Thanks for the issue. If this is a general help question, for a faster response consider joining the official Discord Server Else if you have an issue with the library please wait for someone to help you here. |
@Xxrob22xX Twitch deprecated /commands for bots and IRC in general. You now have to use the Helix endpoints to carry out these tasks. https://dev.twitch.tv/docs/irc/chat-commands/
|
What does that mean ? What is the class and method to send these Helix endpoints ? |
Regarding your issue #388 (comment) Most chat commands are associated with the User and the bot can no longer send commands via IRC/Chat. https://twitchio.dev/en/latest/reference.html#twitchio.PartialUser.chat_announcement |
Thanks for the info ! it's a bit weird that the token and user id must be given explicitly since we only have one of each anyway (and .send doesn't require that for example). But that's for another issue. |
This is not usually true. Any bot that scales beyond one streamer will have multiple tokens and user ids, and as such they need to be specified somewhere. Send does not require tokens because it doesn't make API calls. It uses the IRC connection that is already authenticated |
ctx.channel.send(f"/delete {ctx.id}")
it doesn't work anymore, and it doesn't work with /timeout or /clear either. the bot uses my account (with full moderator permissions) but can't use any twitch commands, but I can use them. It used to work, but now it doesn't work anymore. the bot is still able to read and write in the chat.I don't know if it's an external problem or mine.
The text was updated successfully, but these errors were encountered: