Update ChatAliases.plugin.js

This commit is contained in:
Mirco Wittrien 2021-04-13 07:16:28 +02:00 committed by GitHub
parent 1b05a7d5f4
commit 520676ac93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 14 deletions

View File

@ -2,7 +2,7 @@
* @name ChatAliases
* @author DevilBro
* @authorId 278543574059057154
* @version 2.2.5
* @version 2.2.6
* @description Allows you to configure your own Aliases/Commands
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,7 +17,7 @@ module.exports = (_ => {
"info": {
"name": "ChatAliases",
"author": "DevilBro",
"version": "2.2.5",
"version": "2.2.6",
"description": "Allows you to configure your own Aliases/Commands"
},
"changeLog": {
@ -113,17 +113,6 @@ module.exports = (_ => {
onStart () {
aliases = BDFDB.DataUtils.load(this, "words");
for (let i = 0; i < 100; i++) aliases["word" + i] = {
"word": "aaaa",
"replace": "¯\\_(ツ)_/¯",
"filedata": null,
"case": false,
"exact": true,
"autoc": true,
"regex": false,
"file": false
};
console.log(aliases),
commandSentinel = BDFDB.LibraryModules.AutocompleteSentinels && BDFDB.LibraryModules.AutocompleteSentinels.COMMAND_SENTINEL || "/";
commandAliases = BDFDB.ObjectUtils.filter(aliases, key => key.startsWith(commandSentinel), true);
@ -621,4 +610,4 @@ module.exports = (_ => {
}
};
})(window.BDFDB_Global.PluginUtils.buildPlugin(config));
})();
})();