simplified
This commit is contained in:
parent
e12f37bb6a
commit
f4b4747d08
2 changed files with 3 additions and 9 deletions
|
@ -177,17 +177,11 @@ export async function displaySearch(
|
|||
.setEmoji("⬅")
|
||||
.setCustomId(`previousButton:${idMod}`)
|
||||
.setDisabled(currentPage === 1),
|
||||
);
|
||||
|
||||
buttons.push(
|
||||
new MessageButton()
|
||||
.setStyle("SECONDARY")
|
||||
.setEmoji("➡")
|
||||
.setCustomId(`nextButton:${idMod}`)
|
||||
.setDisabled(currentPage === searchResult.lastPage),
|
||||
);
|
||||
|
||||
buttons.push(
|
||||
new MessageButton()
|
||||
.setStyle("SECONDARY")
|
||||
.setEmoji("🔄")
|
||||
|
@ -325,7 +319,7 @@ async function performMemberSearch(
|
|||
}
|
||||
|
||||
if (args.voice) {
|
||||
matchingMembers = matchingMembers.filter(m => m.voice.channelId != null);
|
||||
matchingMembers = matchingMembers.filter(m => m.voice.channelId);
|
||||
}
|
||||
|
||||
if (args.bot) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue