mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
prettier
This commit is contained in:
parent
3a474250f7
commit
4674216748
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ export async function createPaginatedMessage(
|
||||||
|
|
||||||
const collector = message.createMessageComponentCollector({ time: fullOpts.timeout });
|
const collector = message.createMessageComponentCollector({ time: fullOpts.timeout });
|
||||||
|
|
||||||
collector.on("collect", async interaction => {
|
collector.on("collect", async (interaction) => {
|
||||||
if (fullOpts.limitToUserId && interaction.user.id !== fullOpts.limitToUserId) {
|
if (fullOpts.limitToUserId && interaction.user.id !== fullOpts.limitToUserId) {
|
||||||
return interaction.reply({ content: `You are not permitted to use these buttons.`, ephemeral: true });
|
return interaction.reply({ content: `You are not permitted to use these buttons.`, ephemeral: true });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue