diff --git a/src/structure/infractions/Prune.js b/src/structure/infractions/Prune.js index e9dc69b..26c396b 100644 --- a/src/structure/infractions/Prune.js +++ b/src/structure/infractions/Prune.js @@ -70,7 +70,9 @@ class PruneInfraction extends Infraction { const deleteThese = messages.splice(0, 100); const result = await this.target.bulkDelete(deleteThese, true); //Filtering old just incase, d.js uses Snowflake times instead of our Client's timestamp. if (result && result.size > 0) amount += result.size; - } catch (error) { } //eslint-disable-line no-empty + } catch (error) { + this.client.logger.error(error.stack); + } //eslint-disable-line no-empty if (messages.length > 0) { await bulkDelete(messages);