Skip to content

[Bug] $randomActiveViewer sometimes returns as string instead of doing it's job #1779

@Alastor-git

Description

@Alastor-git

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Sometimes, $randomActiveViewer just appears in the message instead of returning a viewer name, at a time when there are active viewers.
image

My guess would be either an index out of bounds issue, or firebot sometimes forgets momentarily the active viewers list and it appears empty to the bot for an instant, although I can't access the logs to check more precisely (I'm not the streamer).

Expected Behavior

$randomActiveViewer should be replaced by a viewer name.

Steps To Reproduce

  • Create a command using $randomActiveViewer.
  • Have it used enough, by the looks of it

Version

5.52.0

What operating system are you using Firebot on?

Windows 10

Relevant log output

No response

Contact Details (Optional)

Alastor#8593

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions