This commit is contained in:
Jiiks 2018-08-20 03:48:49 +03:00
parent 3fa848bb5a
commit 84b94c614e
1 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ export default new class EmoteModule extends BuiltinModule {
} }
async disabled() { async disabled() {
// Unpatch all aptches // Unpatch all patches
for (const patch of Patcher.getPatchesByCaller('BD:EMOTEMODULE')) patch.unpatch(); for (const patch of Patcher.getPatchesByCaller('BD:EMOTEMODULE')) patch.unpatch();
// Remove ; prefix from autocomplete // Remove ; prefix from autocomplete
GlobalAc.remove(';'); GlobalAc.remove(';');
@ -180,7 +180,7 @@ export default new class EmoteModule extends BuiltinModule {
/** /**
* Add/update emote to most used * Add/update emote to most used
* @param {Object} emote * @param {Object} emote emote to add/update
*/ */
addToMostUsed(emote) { addToMostUsed(emote) {
const isMostUsed = this.mostUsed.find(mu => mu.key === emote.name); const isMostUsed = this.mostUsed.find(mu => mu.key === emote.name);
@ -266,7 +266,7 @@ export default new class EmoteModule extends BuiltinModule {
} }
/** /**
* Parsae emote object * Parse emote object
* @param {String} name Emote name * @param {String} name Emote name
* @param {Object} emote Emote object * @param {Object} emote Emote object
* @param {Boolean} simple Simple object or Emote instance * @param {Boolean} simple Simple object or Emote instance