File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ console.info("[BİLGİ] Basit Altyapı - by Kıraç Armağan Önal");
2020 let eventsPath = path . resolve ( "./events" ) ;
2121 await makeSureFolderExists ( eventsPath ) ;
2222
23- config . onBeforeLoad ( client ) ;
23+ await config . onBeforeLoad ( client ) ;
2424
2525 let loadStart = Date . now ( ) ;
2626 let commandFiles = await readdirRecursive ( commandsPath ) ;
@@ -249,7 +249,7 @@ console.info("[BİLGİ] Basit Altyapı - by Kıraç Armağan Önal");
249249 eventFiles = 0 ;
250250 loadStart = 0 ;
251251
252- config . onAfterLoad ( client ) ;
252+ await config . onAfterLoad ( client ) ;
253253
254254 await client . login ( config . clientToken ) ;
255255 console . info ( "[BİLGİ] Discord'a bağlanıldı!" , client . user . tag ) ;
Original file line number Diff line number Diff line change @@ -80,17 +80,19 @@ class Config {
8080 this . other = arg . other || { } ;
8181
8282 this . commandDefaults = typeof arg . commandDefaults == "object" ? arg . commandDefaults : {
83- aliases : [ ] ,
84- description : "" ,
83+ actionType : "CHAT_INPUT" ,
84+ description : "Açıkla belirtilmemiş. " ,
8585 developerOnly : false ,
8686 guildOnly : true ,
8787 disabled : false ,
8888 coolDown : - 1 ,
8989 other : { } ,
9090 perms : {
91- bot : [ "SEND_MESSAGES" ] ,
91+ bot : [ ] ,
9292 user : [ ]
93- }
93+ } ,
94+ options : [ ] ,
95+ defaultPermission : true
9496 } ;
9597
9698 if (
You can’t perform that action at this time.
0 commit comments