diff --git a/src/commands/config/247.ts b/src/commands/config/247.ts index a89e69518..25e8d5f31 100644 --- a/src/commands/config/247.ts +++ b/src/commands/config/247.ts @@ -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, diff --git a/src/commands/config/Dj.ts b/src/commands/config/Dj.ts index a2b5f04a3..3d74fd3de 100644 --- a/src/commands/config/Dj.ts +++ b/src/commands/config/Dj.ts @@ -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, diff --git a/src/commands/config/Language.ts b/src/commands/config/Language.ts index c92776a43..9649c46c6 100644 --- a/src/commands/config/Language.ts +++ b/src/commands/config/Language.ts @@ -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, diff --git a/src/commands/config/Prefix.ts b/src/commands/config/Prefix.ts index e9d2ccc57..d78c5a124 100644 --- a/src/commands/config/Prefix.ts +++ b/src/commands/config/Prefix.ts @@ -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, diff --git a/src/commands/config/Setup.ts b/src/commands/config/Setup.ts index 8302493b3..50041d204 100644 --- a/src/commands/config/Setup.ts +++ b/src/commands/config/Setup.ts @@ -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, diff --git a/src/commands/dev/Deploy.ts b/src/commands/dev/Deploy.ts index 38f09acdb..a07574190 100644 --- a/src/commands/dev/Deploy.ts +++ b/src/commands/dev/Deploy.ts @@ -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, diff --git a/src/commands/dev/Eval.ts b/src/commands/dev/Eval.ts index 494c0106a..6f0e890fc 100644 --- a/src/commands/dev/Eval.ts +++ b/src/commands/dev/Eval.ts @@ -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, diff --git a/src/commands/dev/GuildLeave.ts b/src/commands/dev/GuildLeave.ts index 84b3fb78d..d623cec93 100644 --- a/src/commands/dev/GuildLeave.ts +++ b/src/commands/dev/GuildLeave.ts @@ -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, diff --git a/src/commands/dev/GuildList.ts b/src/commands/dev/GuildList.ts index 0f730c756..ecb652914 100644 --- a/src/commands/dev/GuildList.ts +++ b/src/commands/dev/GuildList.ts @@ -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, diff --git a/src/commands/dev/Restart.ts b/src/commands/dev/Restart.ts index 895c72d28..35b32e762 100644 --- a/src/commands/dev/Restart.ts +++ b/src/commands/dev/Restart.ts @@ -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, diff --git a/src/commands/filters/8d.ts b/src/commands/filters/8d.ts index 69b2c470e..cf10b89d1 100644 --- a/src/commands/filters/8d.ts +++ b/src/commands/filters/8d.ts @@ -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, diff --git a/src/commands/filters/BassBoost.ts b/src/commands/filters/BassBoost.ts index 5dd6a09c3..75188421f 100644 --- a/src/commands/filters/BassBoost.ts +++ b/src/commands/filters/BassBoost.ts @@ -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, diff --git a/src/commands/filters/Distorsion.ts b/src/commands/filters/Distorsion.ts index 38f5b338f..289588984 100644 --- a/src/commands/filters/Distorsion.ts +++ b/src/commands/filters/Distorsion.ts @@ -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, diff --git a/src/commands/filters/Karaoke.ts b/src/commands/filters/Karaoke.ts index 3e2dbe207..c41e3d358 100644 --- a/src/commands/filters/Karaoke.ts +++ b/src/commands/filters/Karaoke.ts @@ -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, diff --git a/src/commands/filters/LowPass.ts b/src/commands/filters/LowPass.ts index 503413101..da33a65e9 100644 --- a/src/commands/filters/LowPass.ts +++ b/src/commands/filters/LowPass.ts @@ -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, diff --git a/src/commands/filters/NightCore.ts b/src/commands/filters/NightCore.ts index 566488471..57cbae9d9 100644 --- a/src/commands/filters/NightCore.ts +++ b/src/commands/filters/NightCore.ts @@ -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, diff --git a/src/commands/filters/Pitch.ts b/src/commands/filters/Pitch.ts index 27f177293..6eab969dd 100644 --- a/src/commands/filters/Pitch.ts +++ b/src/commands/filters/Pitch.ts @@ -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, diff --git a/src/commands/filters/Rate.ts b/src/commands/filters/Rate.ts index e932de19b..86aecc6d9 100644 --- a/src/commands/filters/Rate.ts +++ b/src/commands/filters/Rate.ts @@ -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, diff --git a/src/commands/filters/Reset.ts b/src/commands/filters/Reset.ts index 7352c9882..cced01703 100644 --- a/src/commands/filters/Reset.ts +++ b/src/commands/filters/Reset.ts @@ -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, diff --git a/src/commands/filters/Rotation.ts b/src/commands/filters/Rotation.ts index eb8e2a494..6519a80d1 100644 --- a/src/commands/filters/Rotation.ts +++ b/src/commands/filters/Rotation.ts @@ -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, diff --git a/src/commands/filters/Speed.ts b/src/commands/filters/Speed.ts index fbfb3b64a..ccfc02e56 100644 --- a/src/commands/filters/Speed.ts +++ b/src/commands/filters/Speed.ts @@ -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, diff --git a/src/commands/filters/Tremolo.ts b/src/commands/filters/Tremolo.ts index 95277cfa2..0d31189a8 100644 --- a/src/commands/filters/Tremolo.ts +++ b/src/commands/filters/Tremolo.ts @@ -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, diff --git a/src/commands/filters/Vibrato.ts b/src/commands/filters/Vibrato.ts index 621adf878..4dad08598 100644 --- a/src/commands/filters/Vibrato.ts +++ b/src/commands/filters/Vibrato.ts @@ -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, diff --git a/src/commands/info/About.ts b/src/commands/info/About.ts index 1a8b8031e..7865d9c01 100644 --- a/src/commands/info/About.ts +++ b/src/commands/info/About.ts @@ -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, diff --git a/src/commands/info/Botinfo.ts b/src/commands/info/Botinfo.ts index b69fdc67e..c4038bfea 100644 --- a/src/commands/info/Botinfo.ts +++ b/src/commands/info/Botinfo.ts @@ -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, diff --git a/src/commands/info/Help.ts b/src/commands/info/Help.ts index dd75f63db..9075facc6 100644 --- a/src/commands/info/Help.ts +++ b/src/commands/info/Help.ts @@ -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, diff --git a/src/commands/info/Invite.ts b/src/commands/info/Invite.ts index 0fc8fdaec..3e222457f 100644 --- a/src/commands/info/Invite.ts +++ b/src/commands/info/Invite.ts @@ -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, diff --git a/src/commands/info/LavaLink.ts b/src/commands/info/LavaLink.ts index 85060b526..b69236f4d 100644 --- a/src/commands/info/LavaLink.ts +++ b/src/commands/info/LavaLink.ts @@ -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, diff --git a/src/commands/info/Ping.ts b/src/commands/info/Ping.ts index 3ee027c5e..61d5ac481 100644 --- a/src/commands/info/Ping.ts +++ b/src/commands/info/Ping.ts @@ -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, diff --git a/src/commands/music/Autoplay.ts b/src/commands/music/Autoplay.ts index 642d71abc..0a0e5b649 100644 --- a/src/commands/music/Autoplay.ts +++ b/src/commands/music/Autoplay.ts @@ -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, diff --git a/src/commands/music/ClearQueue.ts b/src/commands/music/ClearQueue.ts index 5b6b23098..421355f75 100644 --- a/src/commands/music/ClearQueue.ts +++ b/src/commands/music/ClearQueue.ts @@ -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, diff --git a/src/commands/music/Grab.ts b/src/commands/music/Grab.ts index 8f1b17404..d1bef360b 100644 --- a/src/commands/music/Grab.ts +++ b/src/commands/music/Grab.ts @@ -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, diff --git a/src/commands/music/Join.ts b/src/commands/music/Join.ts index de6c5a0aa..eb1cc0cb3 100644 --- a/src/commands/music/Join.ts +++ b/src/commands/music/Join.ts @@ -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, diff --git a/src/commands/music/Leave.ts b/src/commands/music/Leave.ts index 8d56665da..8673a86a8 100644 --- a/src/commands/music/Leave.ts +++ b/src/commands/music/Leave.ts @@ -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, diff --git a/src/commands/music/Loop.ts b/src/commands/music/Loop.ts index a7685ecb2..f4b090424 100644 --- a/src/commands/music/Loop.ts +++ b/src/commands/music/Loop.ts @@ -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, diff --git a/src/commands/music/Nowplaying.ts b/src/commands/music/Nowplaying.ts index 7a456c3a1..a93bfd1ae 100644 --- a/src/commands/music/Nowplaying.ts +++ b/src/commands/music/Nowplaying.ts @@ -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, diff --git a/src/commands/music/Pause.ts b/src/commands/music/Pause.ts index dc6e1f3f9..2a56e4dca 100644 --- a/src/commands/music/Pause.ts +++ b/src/commands/music/Pause.ts @@ -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, diff --git a/src/commands/music/Play.ts b/src/commands/music/Play.ts index e4918dba3..951f91cdd 100644 --- a/src/commands/music/Play.ts +++ b/src/commands/music/Play.ts @@ -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, diff --git a/src/commands/music/PlayNext.ts b/src/commands/music/PlayNext.ts index b18312afb..0c9a43d31 100644 --- a/src/commands/music/PlayNext.ts +++ b/src/commands/music/PlayNext.ts @@ -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, diff --git a/src/commands/music/Queue.ts b/src/commands/music/Queue.ts index 4a029ba47..53612466e 100644 --- a/src/commands/music/Queue.ts +++ b/src/commands/music/Queue.ts @@ -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, diff --git a/src/commands/music/Remove.ts b/src/commands/music/Remove.ts index 12e503f03..bfa1f3a6b 100644 --- a/src/commands/music/Remove.ts +++ b/src/commands/music/Remove.ts @@ -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, diff --git a/src/commands/music/Replay.ts b/src/commands/music/Replay.ts index 11041ea57..d1a32907d 100644 --- a/src/commands/music/Replay.ts +++ b/src/commands/music/Replay.ts @@ -22,7 +22,7 @@ export default class Replay extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/music/Resume.ts b/src/commands/music/Resume.ts index a1e2c1911..d55eddfa5 100644 --- a/src/commands/music/Resume.ts +++ b/src/commands/music/Resume.ts @@ -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, diff --git a/src/commands/music/Search.ts b/src/commands/music/Search.ts index 0b0b10fa6..39c0510f2 100644 --- a/src/commands/music/Search.ts +++ b/src/commands/music/Search.ts @@ -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, diff --git a/src/commands/music/Seek.ts b/src/commands/music/Seek.ts index 4f8e3685d..883f32970 100644 --- a/src/commands/music/Seek.ts +++ b/src/commands/music/Seek.ts @@ -22,7 +22,7 @@ export default class Seek extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/music/Shuffle.ts b/src/commands/music/Shuffle.ts index 19a3ee802..636a53cd9 100644 --- a/src/commands/music/Shuffle.ts +++ b/src/commands/music/Shuffle.ts @@ -22,7 +22,7 @@ export default class Shuffle extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/music/Skip.ts b/src/commands/music/Skip.ts index 14fe065f6..7c6a897a9 100644 --- a/src/commands/music/Skip.ts +++ b/src/commands/music/Skip.ts @@ -22,7 +22,7 @@ export default class Skip extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/music/Skipto.ts b/src/commands/music/Skipto.ts index a3ed23064..402feb6ed 100644 --- a/src/commands/music/Skipto.ts +++ b/src/commands/music/Skipto.ts @@ -22,7 +22,7 @@ export default class Skipto extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/music/Stop.ts b/src/commands/music/Stop.ts index e13f0e9ee..e8f97a802 100644 --- a/src/commands/music/Stop.ts +++ b/src/commands/music/Stop.ts @@ -22,7 +22,7 @@ export default class Stop extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/music/Volume.ts b/src/commands/music/Volume.ts index 3566fd2dc..90076934c 100644 --- a/src/commands/music/Volume.ts +++ b/src/commands/music/Volume.ts @@ -22,7 +22,7 @@ export default class Volume extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/playlist/AddSong.ts b/src/commands/playlist/AddSong.ts index 82e346b76..a99ca9765 100644 --- a/src/commands/playlist/AddSong.ts +++ b/src/commands/playlist/AddSong.ts @@ -23,7 +23,7 @@ export default class AddSong extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/playlist/Create.ts b/src/commands/playlist/Create.ts index 986f2cd35..f35487e5c 100644 --- a/src/commands/playlist/Create.ts +++ b/src/commands/playlist/Create.ts @@ -22,7 +22,7 @@ export default class CreatePlaylist extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/playlist/Delete.ts b/src/commands/playlist/Delete.ts index 1ecc6ced6..0b9020c25 100644 --- a/src/commands/playlist/Delete.ts +++ b/src/commands/playlist/Delete.ts @@ -22,7 +22,7 @@ export default class DeletePlaylist extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/playlist/List.ts b/src/commands/playlist/List.ts index 326128c7d..d262b5441 100644 --- a/src/commands/playlist/List.ts +++ b/src/commands/playlist/List.ts @@ -22,7 +22,7 @@ export default class GetPlaylists extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/playlist/Load.ts b/src/commands/playlist/Load.ts index d3cc72b99..579a43a4b 100644 --- a/src/commands/playlist/Load.ts +++ b/src/commands/playlist/Load.ts @@ -22,7 +22,7 @@ export default class LoadPlaylist extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/playlist/RemoveSong.ts b/src/commands/playlist/RemoveSong.ts index b37149604..77093a6df 100644 --- a/src/commands/playlist/RemoveSong.ts +++ b/src/commands/playlist/RemoveSong.ts @@ -23,7 +23,7 @@ export default class RemoveSong extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/commands/playlist/Steal.ts b/src/commands/playlist/Steal.ts index e5b0566bb..aec9685f6 100644 --- a/src/commands/playlist/Steal.ts +++ b/src/commands/playlist/Steal.ts @@ -22,7 +22,7 @@ export default class StealPlaylist extends Command { }, permissions: { dev: false, - client: ["SendMessages", "ViewChannel", "EmbedLinks"], + client: ["SendMessages", "ReadMessageHistory", "ViewChannel", "EmbedLinks"], user: [], }, slashCommand: true, diff --git a/src/events/client/InteractionCreate.ts b/src/events/client/InteractionCreate.ts index a1592cc7d..7c4cb1e94 100644 --- a/src/events/client/InteractionCreate.ts +++ b/src/events/client/InteractionCreate.ts @@ -216,7 +216,7 @@ export default class InteractionCreate extends Event { if (logs) { const embed = new EmbedBuilder() .setAuthor({ - name: "Slash-Command Command Logs", + name: "Slash - Command Logs", iconURL: this.client.user?.avatarURL({ size: 2048 }), }) .setColor(this.client.config.color.blue) diff --git a/src/events/client/MessageCreate.ts b/src/events/client/MessageCreate.ts index 62bf637b4..ec45ae6db 100644 --- a/src/events/client/MessageCreate.ts +++ b/src/events/client/MessageCreate.ts @@ -245,7 +245,7 @@ export default class MessageCreate extends Event { if (logs) { const embed = new EmbedBuilder() .setAuthor({ - name: "Prefix Command Logs", + name: "Prefix - Command Logs", iconURL: this.client.user?.avatarURL({ size: 2048 }), }) .setColor(this.client.config.color.green)