We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac1d399 commit be7d745Copy full SHA for be7d745
interactions/autocomplateBan.js
@@ -18,7 +18,8 @@ module.exports = new Underline.SlashCommand({
18
autocomplete: true,
19
async onComplete(inter, value) {
20
await inter.guild.bans.fetch({ cache: false });
21
- return [...inter.guild.bans.cache.values()].map(i => ({ name: i.user.tag, value: i.user.id }));
+ return [...inter.guild.bans.cache.values()]
22
+ .map(i => ({ name: i.user.tag, value: i.user.id }));
23
},
24
required: true
25
}
0 commit comments