mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
add message
This commit is contained in:
parent
2b618e536e
commit
c4898aa6b0
1 changed files with 3 additions and 3 deletions
|
@ -58,9 +58,9 @@ async function quoraPaginator(context, pages, refMappings, currentRef){
|
|||
listener.stopWithoutUpdate()
|
||||
|
||||
const components = new Components({
|
||||
timeout: 10000,
|
||||
timeout: 100000,
|
||||
run: async (sctx) => {
|
||||
if (sctx.userId !== context.userId || !context.values) {
|
||||
if (sctx.userId !== context.userId) {
|
||||
return await sctx.respond(InteractionCallbackTypes.DEFERRED_UPDATE_MESSAGE);
|
||||
}
|
||||
await sctx.editOrRespond({
|
||||
|
@ -110,7 +110,7 @@ async function quoraPaginator(context, pages, refMappings, currentRef){
|
|||
options: selectOptions
|
||||
})
|
||||
|
||||
await ctx.editOrRespond({components})
|
||||
await ctx.editOrRespond({content: `<@${context.userId}> Select a question.`, components})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue