Fix changelog command
This commit is contained in:
parent
64e9fded12
commit
36da8d37af
@ -19,7 +19,7 @@ module.exports = {
|
||||
const userDatabaseEntry = await getUserRegistration(user);
|
||||
if (!userDatabaseEntry) return interaction.editReply({ content: `Issue checking registration with "${user.username}".`, ephemeral: true });
|
||||
|
||||
const changelogEntries = await getChangelog(userDatabaseEntry.id);
|
||||
const changelogEntries = await getChangelog(userDatabaseEntry.id, '2024-01-01', `${new Date().getFullYear()}-12-31`);
|
||||
let desc = '';
|
||||
|
||||
for (let i = 0; i < changelogEntries.length; i++) {
|
||||
@ -44,6 +44,8 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
|
||||
console.log(changelogEntries);
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0x6441a5)
|
||||
.setThumbnail(user.avatarURL())
|
||||
|
Loading…
x
Reference in New Issue
Block a user