mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Added rudimentary voice joining
This commit is contained in:
@@ -98,6 +98,14 @@ class Resolver {
|
||||
|
||||
return found;
|
||||
}
|
||||
|
||||
resolveVoiceChannel(resource) {
|
||||
// resolveChannel will also work but this is more apt
|
||||
if(resource instanceof VoiceChannel){
|
||||
return resource;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
resolveChannel(resource) {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user