Guilds helpers

This commit is contained in:
TriForMine
2021-10-21 19:38:09 +02:00
parent baf8583976
commit 20616e8a36
29 changed files with 156 additions and 167 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export async function sendDirectMessage(bot: Bot, memberId: bigint, content: str
recipient_id: memberId,
}
);
const discordenoChannel = await bot.transformers.channel(bot, dmChannelData);
const discordenoChannel = await bot.transformers.channel(bot, {channel: dmChannelData});
// Recreate the channel and add it under the users id
await bot.cache.channels.set(memberId, discordenoChannel);
dmChannel = discordenoChannel;