test: use createChannel()

This commit is contained in:
ayntee
2021-03-19 15:54:34 +04:00
parent 9699f741fe
commit e1a9565045
+2 -2
View File
@@ -6,8 +6,8 @@ import {
cache,
Channel,
channelOverwriteHasPermission,
createChannel,
createGuild,
createGuildChannel,
createRole,
delay,
deleteChannel,
@@ -137,7 +137,7 @@ Deno.test({
Deno.test({
name: "[channel] create a channel in a guild",
async fn() {
const channel = await createGuildChannel(tempData.guildID, "test");
const channel = await createChannel(tempData.guildID, "test");
// Assertions
assertExists(channel);