mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-04 01:50:08 +00: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