File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff 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} )
Original file line number Diff line number Diff line change 1- const { Util } = require ( "discord.js" ) ;
2- const util = require ( "util" ) ;
3-
41module . 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} )
You can’t perform that action at this time.
0 commit comments