minecraftchest1 / matterbridge-groupme

Apache License 2.0
1 stars 0 forks source link

Help Needed: Parameters not being processed properly #6

Open minecraftchest1 opened 3 years ago

minecraftchest1 commented 3 years ago

Commit https://github.com/minecraftchest1/matterbridge-groupme/commit/d1e9edb4bb92cbb810529087a90ea65359dc6c71 is not processing parameter properly. The following is supposed to print the token and group id's specified on the command but is instead printing defaults.

fmt.Printf("%s", token)
fmt.Printf("%s", group)

Example output.

Arg 1 is token=<removed>
Arg 2 is group=<removed>
tokengroup{"meta":{"code":401,"errors":["unauthorized"]}}
minecraftchest1 commented 3 years ago

Commit https://github.com/minecraftchest1/matterbridge-groupme/commit/ed544343695bb96da45f9c1c88f0166d15c91ff7 changed how the args are being processed, but I am receiving errors. https://github.com/minecraftchest1/matterbridge-groupme/actions/runs/537815692