Skip to content

Commit 0cc7c21

Browse files
committed
No
1 parent d209eca commit 0cc7c21

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ module.exports = new (require("./types/Config"))({
8989
},
9090
options: [],
9191
defaultPermission: true,
92-
autoDefer: "ephemeral"
92+
autoDefer: "off"
9393
},
9494
// Bot ilk açıldığında daha hiçbirşey yüklenmeden önce çalışan fonksiyon. Opsiyonel.
9595
onBeforeLoad(client) {
@@ -135,6 +135,6 @@ module.exports = new (require("./types/Config"))({
135135
},
136136
// Olay hatasız bir şekilde çalıştıktan sonra çalışır.
137137
async onAfterEvent(eventName, [arg1, arg2], other) {
138-
138+
139139
},
140140
})

interactions/reload.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
const { Util } = require("discord.js");
2-
const util = require("util");
3-
41
module.exports = new Underline.SlashCommand({
52
name: ["reload"],
63
description: "Bot yetkilileri için Underline reload komutu.",
7-
developerOnly: true,
84
async onInteraction(interaction) {
95
await interaction.deferReply();
106
await Underline.reload();
@@ -14,5 +10,8 @@ module.exports = new Underline.SlashCommand({
1410
type: "any",
1511
amount: 180000
1612
},
13+
perms: {
14+
user: ["DEVELOPER"]
15+
},
1716
publishType: "guildOnly"
1817
})

0 commit comments

Comments
 (0)