This commit is contained in:
Jonny_Bro (Nikita) 2023-03-19 23:37:17 +05:00
parent a21048ca08
commit 94a6e5fc0f

View file

@ -110,7 +110,7 @@ async function tictactoe(interaction, options = {}) {
const collector = m.createMessageComponentCollector({ const collector = m.createMessageComponentCollector({
componentType: ComponentType.Button, componentType: ComponentType.Button,
time: (5 * 1000), time: (30 * 1000),
}); });
collector.on("collect", async button => { collector.on("collect", async button => {
if (button.user.id !== opponent.id) if (button.user.id !== opponent.id)