mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Added guild.createChannel(name, type)
This commit is contained in:
@@ -131,6 +131,10 @@ class Guild {
|
||||
}
|
||||
}
|
||||
|
||||
createChannel(name, type) {
|
||||
return this.client.rest.methods.CreateChannel(this, name, type);
|
||||
}
|
||||
|
||||
get channels() { return this.store.getAsArray('channels'); }
|
||||
|
||||
get $channels() { return this.store.data.channels; }
|
||||
|
||||
Reference in New Issue
Block a user