This commit is contained in:
Elysia
2024-01-10 19:27:04 +07:00
parent af1f561cfd
commit 4a1d615673
6 changed files with 345 additions and 347 deletions

View File

@@ -113,14 +113,13 @@ class ChannelManager extends CachedManager {
}
const data = await this.client.api.channels(id).get();
// Delete in cache
this._remove(id);
return this._add(data, null, { cache, allowUnknownGuild });
}
/**
* Create Group DM
* @param {UserResolvable[]} recipients Array of recipients
* @returns {Promise<PartialGroupDMChannel>} Channel
* @returns {Promise<GroupDMChannel>} Channel
*/
async createGroupDM(recipients) {
// Check