mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Allow !info to find vanity invites shorter than 6 characters (#149)
This commit is contained in:
parent
93618e1bda
commit
8e812aab2f
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ export const InfoCmd = utilityCmd({
|
|||
}
|
||||
|
||||
// 5. Invite
|
||||
const inviteCode = await parseInviteCodeInput(value);
|
||||
const inviteCode = parseInviteCodeInput(value) ?? value;
|
||||
if (inviteCode) {
|
||||
const invite = await resolveInvite(pluginData.client, inviteCode, true);
|
||||
if (invite && userCfg.can_inviteinfo) {
|
||||
|
|
Loading…
Add table
Reference in a new issue