mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
auto_reactions: check permissions ahead-of-time
This commit is contained in:
parent
d276d8e28a
commit
a404c7a97f
5 changed files with 36 additions and 17 deletions
|
@ -4,7 +4,7 @@ import { errorMessage } from "../../../utils";
|
|||
import { getBaseUrl, sendErrorMessage } from "../../../pluginUtils";
|
||||
import moment from "moment-timezone";
|
||||
import { Constants, TextChannel } from "eris";
|
||||
import { hasPermissions } from "../../../utils/hasPermissions";
|
||||
import { hasChannelPermissions } from "../../../utils/hasChannelPermissions";
|
||||
import { canReadChannel } from "../../../utils/canReadChannel";
|
||||
|
||||
export const SourceCmd = utilityCmd({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue