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:
parent
6f545f5c4a
commit
8b061413ac
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ export const InfoCmd = utilityCmd({
|
||||||
}
|
}
|
||||||
|
|
||||||
// 5. Invite
|
// 5. Invite
|
||||||
const inviteCode = await parseInviteCodeInput(value);
|
const inviteCode = parseInviteCodeInput(value) ?? value;
|
||||||
if (inviteCode) {
|
if (inviteCode) {
|
||||||
const invite = await resolveInvite(pluginData.client, inviteCode, true);
|
const invite = await resolveInvite(pluginData.client, inviteCode, true);
|
||||||
if (invite) {
|
if (invite) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue