#channel.threads.fetchArchived not returning expected result
1 messages · Page 1 of 1 (latest)
Fix:
- const archiveDate = +moment().substract(1, 'day');
+ const archiveDate = String(SnowflakeUtil.generate({ timestamp: +moment().substract(1, 'day') }));
current discordjs bug - timestamp is not converted to a snowflake
Discord only accepts snowflakes for before and after and around in methods in the API.