3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 16:25:03 +00:00

Allow !info to find vanity invites shorter than 6 characters

This commit is contained in:
Dark 2021-02-01 05:15:53 +01:00
parent 6f545f5c4a
commit 8b061413ac
No known key found for this signature in database
GPG key ID: 384C4B4F5B1E25A8

View file

@ -77,7 +77,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) {