@@ -28,6 +28,7 @@ pub async fn start(
2828 #[ rename = "channel" ]
2929 channel_id : GenericChannelId ,
3030 #[ description = "After how many minutes the image should change. Default is 30, minimum 15." ]
31+ #[ min = 15 ]
3132 interval : Option < u64 > ,
3233 #[ description = "When to start the schedule. Default is instantly." ] start_at : Option < DateTime < Utc > > ,
3334 #[ description = "How many messages to look back for images." ]
@@ -55,6 +56,7 @@ pub async fn start_for_guild(
5556 #[ rename = "channel" ]
5657 channel_id : GenericChannelId ,
5758 #[ description = "After how many minutes the image should change. Default is 30, minimum 15." ]
59+ #[ min = 15 ]
5860 interval : Option < u64 > ,
5961 #[ description = "When to start the schedule. Default is instantly." ] start_at : Option < DateTime < Utc > > ,
6062 #[ description = "How many messages to look back for images." ]
@@ -70,7 +72,7 @@ pub async fn start_for_guild(
7072 start_banner ( ctx, options) . await
7173}
7274
73- /// Stops picking random images
75+ /// Stops the schedule
7476#[ poise:: command(
7577 prefix_command,
7678 slash_command,
@@ -84,7 +86,7 @@ pub async fn stop(ctx: Context<'_>) -> Result<(), Error> {
8486 stop_banner ( ctx, guild_id) . await
8587}
8688
87- /// Stops picking random images in that server
89+ /// Stops the schedule in that server
8890#[ poise:: command( prefix_command, slash_command, hide_in_help, owners_only) ]
8991#[ instrument( skip_all) ]
9092pub async fn stop_for_guild (
@@ -96,7 +98,7 @@ pub async fn stop_for_guild(
9698 stop_banner ( ctx, guild_id) . await
9799}
98100
99- /// Tells you the channel that is being used right now
101+ /// Provides information on the currently running schedule
100102#[ poise:: command(
101103 prefix_command,
102104 slash_command,
0 commit comments