Updated models and migrations to new spec

This commit is contained in:
2022-08-17 19:36:47 +02:00
parent bc075805e2
commit 05804cb78a
22 changed files with 336 additions and 86 deletions

View File

@@ -10,7 +10,7 @@ module.exports = {
let users = await User.findAll();
let userList = "";
for (let i = 0; i < users.length; i++) {
let username = await interaction.client.users.fetch(users[i].userID);
let username = await interaction.client.users.fetch(users[i].discordId);
userList += `${username.username}#${username.discriminator}`;
}
if (userList === "") {