Open Autom3 opened 3 years ago
Describe the bug The check to see if someone is in fact a bot admin is done incorrectly
To Reproduce Steps to reproduce the behavior:
!mod_channel
Expected behavior The error should be printed and the code should terminate at that line
Additional context The check currently checks if the function exists, rather than executing the function.
The faulty code has been copied by this pull request. So the issue needs to be fixed there as well.
Describe the bug The check to see if someone is in fact a bot admin is done incorrectly
To Reproduce Steps to reproduce the behavior:
!mod_channel
in #botplaygroundExpected behavior The error should be printed and the code should terminate at that line
Additional context The check currently checks if the function exists, rather than executing the function.
The faulty code has been copied by this pull request. So the issue needs to be fixed there as well.