Set the selector expiration delay to 1 hour

This commit is contained in:
Victor Mignot 2023-05-03 22:07:05 +02:00
parent fa22321321
commit f995977f72
No known key found for this signature in database
GPG key ID: FFE4EF056FB5E0D0

View file

@ -16,7 +16,7 @@ use crate::discord::commands::commons::CommandExecutionError;
use super::embed_builder::EmbedMessageBuilder; use super::embed_builder::EmbedMessageBuilder;
const MAX_SELECTABLE_PER_PAGE: usize = 10; const MAX_SELECTABLE_PER_PAGE: usize = 10;
const COLLECTOR_MAX_DURATION_SEC: u64 = 5000; const COLLECTOR_MAX_DURATION_SEC: u64 = 3600;
/* /*
* Match the Discord 0 to 9 icon (that are encoded with three utf-8 character) * Match the Discord 0 to 9 icon (that are encoded with three utf-8 character)