-
-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Labels
Description
When you use the New-Schedule command it does add a command to the schedule but also shows an error.
Expected Behavior
I expect no error to be shows.
Current Behavior
If I run !newschedule --command 'somecommand' --value 1 --interval days --startafter '7:00am' I get a green tick to say the command is scheduled. I also get an error that says:
Sorry :( PoshBot has been configured to not allow that command in this channel. Please contact your bot administrator.
But if I run !somecommand in the same channel it works fine (there are also no commands restricted in this channel).
The logs show this:
{"DataTime":"2019-08-22 13:33:06Z","Class":"Command","Method":"TriggerMatch","Severity":"Normal","LogLevel":"Debug","Message":"Parsed command [somecommand] matched to command trigger [somecommand] on command [somecommand]","Data":{}}
{"DataTime":"2019-08-22 13:33:06Z","Class":"PluginManager","Method":"MatchCommand","Severity":"Normal","LogLevel":"Info","Message":"Matched parsed command [:somecommand] to plugin command [module.name:somecommand]","Data":{}}
{"DataTime":"2019-08-22 13:33:06Z","Class":"Bot","Method":"HandleMessage","Severity":"Normal","LogLevel":"Debug","Message":"Igoring message. Command not approved in channel","Data":"module.name:somecommand:0.0.2"}
Your Environment
- Module version used: 0.11.7
- Operating System and PowerShell version: Windows 10 / PowerShell 5.1
Reactions are currently unavailable
