Skip to content

Commit

Permalink
fix perm
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasB25 committed Jul 31, 2024
1 parent 081354d commit acdb3a8
Show file tree
Hide file tree
Showing 59 changed files with 59 additions and 59 deletions.
2 changes: 1 addition & 1 deletion src/commands/config/247.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class _247 extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: ["ManageGuild"],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/config/Dj.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Dj extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: ["ManageGuild"],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/config/Language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class LanguageCommand extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: ["ManageGuild"],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/config/Prefix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Prefix extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: ["ManageGuild"],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/config/Setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class Setup extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks", "ManageChannels"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks", "ManageChannels"],
user: ["ManageGuild"],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/dev/Deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Deploy extends Command {
},
permissions: {
dev: true,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: false,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/dev/Eval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class Eval extends Command {
},
permissions: {
dev: true,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: false,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/dev/GuildLeave.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class GuildLeave extends Command {
},
permissions: {
dev: true,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: false,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/dev/GuildList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class GuildList extends Command {
},
permissions: {
dev: true,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: false,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/dev/Restart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class Restart extends Command {
},
permissions: {
dev: true,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: false,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/8d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class _8d extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/BassBoost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class BassBoost extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/Distorsion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Distorsion extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/Karaoke.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Karaoke extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/LowPass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class LowPass extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/NightCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class NightCore extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/Pitch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Pitch extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/Rate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Rate extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/Reset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Reset extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/Rotation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Rotation extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/Speed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Speed extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/Tremolo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Tremolo extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/filters/Vibrato.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Vibrato extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/info/About.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class About extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/info/Botinfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class Botinfo extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/info/Help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Help extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/info/Invite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class Invite extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/info/LavaLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class LavaLink extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/info/Ping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Ping extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Autoplay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Autoplay extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/ClearQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class ClearQueue extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Grab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Grab extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Join.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Join extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks", "Connect", "Speak"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Leave.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Leave extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Loop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Loop extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Nowplaying.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Nowplaying extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Pause.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Pause extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Play.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class Play extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks", "Connect", "Speak"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks", "Connect", "Speak"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/PlayNext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class PlayNext extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks", "Connect", "Speak"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks", "Connect", "Speak"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Queue extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Remove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Remove extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Replay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Replay extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Resume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Resume extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/music/Search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class Search extends Command {
},
permissions: {
dev: false,
client: ["SendMessages", "ViewChannel", "EmbedLinks"],
client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"],
user: [],
},
slashCommand: true,
Expand Down
Loading

0 comments on commit acdb3a8

Please sign in to comment.