We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1747e63 commit 0e421cbCopy full SHA for 0e421cb
affairs/birthday.js
@@ -33,7 +33,7 @@ module.exports = async (client) => {
33
let now = new Date();
34
// Birthdays are stored as string DDMM instead of being seperated by a -
35
if (now.getDate() === parseInt(birthday.substring(0, 2)) && (now.getMonth() + 1) === parseInt(birthday.substring(2))) {
36
- cuties.push(member.user);
+ cuties.push(member.user.toString());
37
cutiesUsernames.push(member.user.username);
38
await member.roles.add(birthdayRole);
39
};
0 commit comments