mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
Fixed invite
This commit is contained in:
@@ -644,11 +644,14 @@ var InternalClient = (function () {
|
||||
return;
|
||||
}
|
||||
|
||||
options = options || {};
|
||||
options.max_age = options.maxAge || 0;
|
||||
options.max_uses = options.maxUses || 0;
|
||||
options.temporary = options.temporary || false;
|
||||
options.xkcdpass = options.xkcd || false;
|
||||
if (!options) {
|
||||
options = { validate: null };
|
||||
} else {
|
||||
options.max_age = options.maxAge || 0;
|
||||
options.max_uses = options.maxUses || 0;
|
||||
options.temporary = options.temporary || false;
|
||||
options.xkcdpass = options.xkcd || false;
|
||||
}
|
||||
|
||||
var epoint;
|
||||
if (chanServ instanceof Channel) {
|
||||
|
||||
Reference in New Issue
Block a user