Update to discord.js v13.8.0, adding support for text-in-voice
This commit is contained in:
parent
ba78103807
commit
b05fbe1d04
32 changed files with 151 additions and 149 deletions
|
@ -15,7 +15,7 @@ export const NewAutoReactionsCmd = autoReactionsCmd({
|
|||
usage: "!auto_reactions 629990160477585428 👍 👎",
|
||||
|
||||
signature: {
|
||||
channel: ct.channel(),
|
||||
channel: ct.guildTextBasedChannel(),
|
||||
reactions: ct.string({ rest: true }),
|
||||
},
|
||||
|
||||
|
@ -23,7 +23,7 @@ export const NewAutoReactionsCmd = autoReactionsCmd({
|
|||
const finalReactions: string[] = [];
|
||||
|
||||
const me = pluginData.guild.members.cache.get(pluginData.client.user!.id)!;
|
||||
const missingPermissions = getMissingChannelPermissions(me, args.channel as GuildChannel, requiredPermissions);
|
||||
const missingPermissions = getMissingChannelPermissions(me, args.channel, requiredPermissions);
|
||||
if (missingPermissions) {
|
||||
sendErrorMessage(
|
||||
pluginData,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue