damn you discord!!!!!!
This commit is contained in:
parent
7b707ec557
commit
5c8b8d0104
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ export default class SuperFakeNitroCommand extends Command {
|
||||||
) as Promise<RESTGetAPIApplicationEmojisResult>);
|
) as Promise<RESTGetAPIApplicationEmojisResult>);
|
||||||
const matches = data.items.filter(item => item.name && item.name.toLowerCase().includes(search.toLowerCase()))
|
const matches = data.items.filter(item => item.name && item.name.toLowerCase().includes(search.toLowerCase()))
|
||||||
interaction.respond(matches.map(emoji => ({
|
interaction.respond(matches.map(emoji => ({
|
||||||
name: 'emoji',
|
name: emoji.name!,
|
||||||
value: emoji.name!
|
value: emoji.name!
|
||||||
})))
|
})))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue