mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 18:24:13 +02:00
fix(arabot): remove adding empty string to fetchRoles
This commit is contained in:
parent
7de8b22e0e
commit
a134dbccc4
@ -151,10 +151,9 @@ export async function fetchRoles(userId: Snowflake) {
|
||||
});
|
||||
|
||||
// Assign roles to role snowflakes
|
||||
const roles = [];
|
||||
const roles: Snowflake[] = [];
|
||||
|
||||
if (roleQuery === null) {
|
||||
roles.push('');
|
||||
return roles;
|
||||
}
|
||||
if (roleQuery.vegan) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user