diff --git a/backend/src/plugins/Utility/commands/ArchiveCmd.ts b/backend/src/plugins/Utility/commands/ArchiveCmd.ts index 2d84c16a..a21f6c69 100644 --- a/backend/src/plugins/Utility/commands/ArchiveCmd.ts +++ b/backend/src/plugins/Utility/commands/ArchiveCmd.ts @@ -11,8 +11,6 @@ export async function archiveMessages( pluginData: GuildPluginData, messagesToArchive: SavedMessage[], ) { - messagesToArchive = Array.from(messagesToArchive).sort((a, b) => (a.posted_at > b.posted_at ? 1 : -1)); - const archiveId = await pluginData.state.archives.createFromSavedMessages(messagesToArchive, pluginData.guild); const baseUrl = getBaseUrl(pluginData);