mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
Added joinServer
This commit is contained in:
@@ -17,9 +17,9 @@ class Resolver {
|
||||
this.internal = internal;
|
||||
}
|
||||
|
||||
resolveInvite(resource){
|
||||
resolveInviteID(resource){
|
||||
if(resource instanceof Invite){
|
||||
return resource;
|
||||
return resource.id;
|
||||
}else if (typeof resource == "string" || resource instanceof String) {
|
||||
|
||||
if (resource.indexOf("http") === 0) {
|
||||
|
||||
Reference in New Issue
Block a user