Typos
This commit is contained in:
parent
3fa848bb5a
commit
84b94c614e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue