roleme: fix undefined in list

This commit is contained in:
Cynthia Foxwell 2023-04-05 19:26:50 -06:00
parent ef344d7aad
commit 3c2a5375bf

View file

@ -150,7 +150,7 @@ roleme.callback = async function (msg, line, args) {
embeds: [ embeds: [
{ {
title: "Assignable Roles", title: "Assignable Roles",
description: roles.map((r) => `<@&${r.id}>`).join("\n"), description: roles.map((r) => `<@&${r}>`).join("\n"),
}, },
], ],
}; };