Skip to content

Fdgt doesn't support command x #95

Open
@bdashore3

Description

Describe the bug
Following up from discord:
When I try sending a command to fdgt without the username flag, the event goes through. However, I get an error saying FDGT doesn't support the "x" command. where x is any command.

To Reproduce
A small testing bot that reproduces the situation quite easily. Just switch comments on the indicated lines in main.rs and use cargo run inside the project directory. This is a private repo, so I've invited Trezy.

Use a command that also has an optional username flag and compare the two outputs (Only one command can be executed at a time with this test bot)

Expected behavior
Something that looks like this deserialized JSON and NOT this

Desktop (please complete the following information):

  • OS: Ubuntu 20.04 (WSL2)
  • Language: Rust
  • Library: twitchchat

Additional context
A small testing bot that reproduces the situation quite easily. Just switch comments on the indicated lines in main.rs and use cargo run inside the project directory. This is a private repo, so I've invited Trezy.

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions