Расширения файлов не обязательны

This commit is contained in:
JonnyBro 2022-01-02 00:19:19 +05:00
parent 6d14c60367
commit c7760e1b32

View file

@ -22,8 +22,8 @@ class JaBa extends Client {
constructor(options) { constructor(options) {
super(options); super(options);
this.config = require("../config"); // Load the config file this.config = require("../config"); // Load the config file
this.customEmojis = require("../emojis.json"); // load the bot's emojis this.customEmojis = require("../emojis"); // load the bot's emojis
this.languages = require("../languages/language-meta.json"); // Load the bot's languages this.languages = require("../languages/language-meta"); // Load the bot's languages
this.commands = new Collection(); // Creates new commands collection this.commands = new Collection(); // Creates new commands collection
this.aliases = new Collection(); // Creates new command aliases collection this.aliases = new Collection(); // Creates new command aliases collection
this.logger = require("../helpers/logger"); // Load the logger file this.logger = require("../helpers/logger"); // Load the logger file