3
0
Fork 0
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:
Dragory 2020-08-07 00:09:05 +03:00
parent d276d8e28a
commit a404c7a97f
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
5 changed files with 36 additions and 17 deletions

View file

@ -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({