Skip to content
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

Unrecognized command: /ban #545

Open
NekoSuneVR opened this issue May 30, 2023 · 7 comments
Open

Unrecognized command: /ban #545

NekoSuneVR opened this issue May 30, 2023 · 7 comments

Comments

@NekoSuneVR
Copy link

Actual behaviour:
/ban command doesn't Execute channels

Expected behaviour:
ban user

Error log:

[22:26] info: [#nekosunevr] Executing command: /ban akula20maksimivanov BOT DETECTED!, IF YOU NOT BOT. CONTACT NEKOSUNEVR SOON AS POSABLE.
[22:26] info: [#nekosunevr] Unrecognized command: /ban
UNABLE BAN USERNAME ON CHANNEL #nekosunevr Reasons: No response from Twitch.

Configuration

  • tmi.js version: 1.8.5
  • Node version (if applicable): 17.9.1
  • Operating system: Linux Docker (Pterodactyl)
@NekoSuneVR
Copy link
Author

one my friend mine told me this and its 100% confirmed ban part of code and few other codes with commands are now removed and run by API

image

I need some information when TMIJS be updated for fix of all commands by chat since IRC chat commands are removed on twitch.

@itsAnuga
Copy link

Are you sure, that your executing it the right way?

https://github.com/search?q=repo%3Atmijs%2Ftmi.js%20%22ban%22&type=code

@NekoSuneVR
Copy link
Author

NekoSuneVR commented Jun 12, 2023

what i hear they have removed /ban command from tmi and they made it set by api and its 100% confirmed because /ban doesn't exist even other commands too.

command of bot never changed and been same just now /ban command and /unban no longer works now

@itsAnuga
Copy link

True, it should return a informal DEPRECATED message.
Since TMI doesn't utilize API communication, you'll probably need to set that up, parallel with TMI.

https://dev.twitch.tv/docs/api/reference/#ban-user

If I'm bored, I might fork and add API replacement communication.

@NekoSuneVR
Copy link
Author

any progress on this?

@Jimmy-sheep
Copy link

Chat commands no longer work with IRC anymore, you need to use the API
https://discuss.dev.twitch.com/t/deprecation-of-chat-commands-through-irc/40486

@NekoSuneVR
Copy link
Author

Chat commands no longer work with IRC anymore, you need to use the API https://discuss.dev.twitch.com/t/deprecation-of-chat-commands-through-irc/40486

i was talking about to itsAnuga since going fork it add API replacement so wonder if has any progress on it?

already had made my API behalf of my System but not stable with ban system for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants