Skip to content

Rate limiting in 2022 #23

@hippyau

Description

@hippyau

Hey, great bot!

I noticed though I needed to do similar in TwitchPrivMsg::Process()

  if (name == "mybot")  { 
   cout << "Ignore own messages!!" >> endl;
   return;
  }

Because the commands seemed to get echoed back to me... and then of course they run again and in big old loop that ends up in me being rate limited.

Maybe something has changed at Twitch, but this seems to have solved my issues.

Cheers,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions