stuff
This commit is contained in:
parent
d3bab6401c
commit
230e845f72
|
@ -26,8 +26,6 @@
|
||||||
"CategoryCollapseUtils": {"props": ["categoryCollapse", "categoryCollapseAll"]},
|
"CategoryCollapseUtils": {"props": ["categoryCollapse", "categoryCollapseAll"]},
|
||||||
"ChannelStore": {"props": ["getChannel", "getDMFromUserId"]},
|
"ChannelStore": {"props": ["getChannel", "getDMFromUserId"]},
|
||||||
"ColorUtils": {"props": ["hex2int", "hex2rgb"]},
|
"ColorUtils": {"props": ["hex2int", "hex2rgb"]},
|
||||||
"CommandApplicationUtils": {"props": ["useApplicationCommandsDiscoveryState"]},
|
|
||||||
"CommandUtils": {"props": ["queryApplicationCommands", "setActiveCommand"]},
|
|
||||||
"ContextMenuUtils": {"props": ["closeContextMenu", "openContextMenu"]},
|
"ContextMenuUtils": {"props": ["closeContextMenu", "openContextMenu"]},
|
||||||
"CopyLinkUtils": {"props": ["SUPPORTS_COPY", "copy"]},
|
"CopyLinkUtils": {"props": ["SUPPORTS_COPY", "copy"]},
|
||||||
"CurrentUserStore": {"props": ["getCurrentUser"]},
|
"CurrentUserStore": {"props": ["getCurrentUser"]},
|
||||||
|
|
|
@ -14,12 +14,12 @@ module.exports = (_ => {
|
||||||
"info": {
|
"info": {
|
||||||
"name": "ChatAliases",
|
"name": "ChatAliases",
|
||||||
"author": "DevilBro",
|
"author": "DevilBro",
|
||||||
"version": "2.2.2",
|
"version": "2.2.3",
|
||||||
"description": "Allow the user to configure their own chat-aliases which will automatically be replaced before the message is being sent"
|
"description": "Allow the user to configure their own chat-aliases which will automatically be replaced before the message is being sent"
|
||||||
},
|
},
|
||||||
"changeLog": {
|
"changeLog": {
|
||||||
"fixed": {
|
"fixed": {
|
||||||
"File aliases with replies": "Now properly adds the reply to a file alias if the rest of the message is empty"
|
"Command List": "Fixed issue where command list and autocomplete menu could be open at the same time on top of each other"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -140,6 +140,7 @@ module.exports = (_ => {
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
queryResults: (channel, wordLowercase, config, rawValue) => {
|
queryResults: (channel, wordLowercase, config, rawValue) => {
|
||||||
|
if (rawValue == commandSentinel) return;
|
||||||
let currentLastWord = BDFDB.StringUtils.findMatchCaseless(wordLowercase, rawValue, true);
|
let currentLastWord = BDFDB.StringUtils.findMatchCaseless(wordLowercase, rawValue, true);
|
||||||
let matches = [];
|
let matches = [];
|
||||||
for (let word in aliases) {
|
for (let word in aliases) {
|
||||||
|
|
Loading…
Reference in New Issue