mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
Remove debug calls
This commit is contained in:
@@ -577,9 +577,6 @@ export default class InternalClient {
|
|||||||
user = this.resolver.resolveUser(user);
|
user = this.resolver.resolveUser(user);
|
||||||
server = this.resolver.resolveServer(server);
|
server = this.resolver.resolveServer(server);
|
||||||
return this.resolver.resolveChannel(channel).then(channel => {
|
return this.resolver.resolveChannel(channel).then(channel => {
|
||||||
console.log(channel.id);
|
|
||||||
console.log(channel.name);
|
|
||||||
console.log(channel.type);
|
|
||||||
// Make sure `channel` is a voice channel
|
// Make sure `channel` is a voice channel
|
||||||
if(channel.type !== "voice") {
|
if(channel.type !== "voice") {
|
||||||
throw new Error("Can't moveMember into a non-voice channel");
|
throw new Error("Can't moveMember into a non-voice channel");
|
||||||
|
|||||||
Reference in New Issue
Block a user