Skip to content

Commit

Permalink
added perm
Browse files Browse the repository at this point in the history
  • Loading branch information
omar00050 committed Jul 26, 2024
1 parent f57b267 commit 14d2ea3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quran_radio",
"version": "1.3.0",
"version": "1.3.1",
"description": "Quran Radio for discord",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/Commands/Radio/control.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
name: "control",
description: "control radio panel",
category: "ADMIN",
botPermissions: ["ManageChannels", "SendMessages"],
botPermissions: ["ManageChannels", "SendMessages", "ViewChannel"],
userPermissions: ["ManageChannels"],
cooldown: 1000,
command: {
Expand Down Expand Up @@ -50,7 +50,7 @@ module.exports = {


} catch (err) {
interaction.editReply({ content: "**:warning: | ليس لدي صلاحيه لارسال الرساله داخل القناه **" })
interaction.editReply({ content: "**:warning: | ليس لدي صلاحيه لارسال الرساله داخل القناه**" })

console.log(err.message + `Server: ${interaction.guild.name} cant send message`);
}
Expand Down

0 comments on commit 14d2ea3

Please sign in to comment.