mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-12-21 03:58:05 +01:00
fix(arabot): remove adding empty string to fetchRoles
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user