-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathExample-Command.js
More file actions
24 lines (21 loc) · 899 Bytes
/
Copy pathExample-Command.js
File metadata and controls
24 lines (21 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const Base = require("../../Base/Command");
class Komut_Adi extends Base {
constructor(client) {
super(client, {
Commands: ["Komut Adı"],
Description: "Komut Açıklaması",
Usage: "Komut kullanımı",
Enabled: true, // Komut aktif olsun istiyorsanız "true" istemiyorsanız "false".
DevOnly: false, // Komut sadece geliştiricilere özel olsun istiyorsanız "true" istemiyorsanız "false".
GuildOnly: true, // Komut sadece sunucularda aktif olsun istiyorsanız "true" istemiyorsanız "false".
Category: "Komut Kategorisi"
});
}
async Execute(client, message, params, config) {
/*
* NOT: Params args ile aynı mantıkta hiç bir farkı yok sadece adı değişik isterseniz yukarıdan tanımlamasını değiştirebilirsiniz size kalmış.
* Komut içeriğini bu kısma girebilirsiniz.
*/
}
}
module.exports = Komut_Adi;