mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Fixed invite
This commit is contained in:
@@ -684,11 +684,14 @@ class InternalClient {
|
||||
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