Skip to content

Commit be7d745

Browse files
committed
Update autocomplateBan.js
1 parent ac1d399 commit be7d745

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interactions/autocomplateBan.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ module.exports = new Underline.SlashCommand({
1818
autocomplete: true,
1919
async onComplete(inter, value) {
2020
await inter.guild.bans.fetch({ cache: false });
21-
return [...inter.guild.bans.cache.values()].map(i => ({ name: i.user.tag, value: i.user.id }));
21+
return [...inter.guild.bans.cache.values()]
22+
.map(i => ({ name: i.user.tag, value: i.user.id }));
2223
},
2324
required: true
2425
}

0 commit comments

Comments
 (0)