From c896ab4607654a8b3ea3192919ee10dd7d62286f Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 7 Sep 2025 01:55:42 -0700 Subject: feat: Add top command --- src/commands.js | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'src/commands.js') diff --git a/src/commands.js b/src/commands.js index 4680ff7..c2faac5 100644 --- a/src/commands.js +++ b/src/commands.js @@ -13,3 +13,43 @@ export const NSFW_COMMAND = { description: 'Fetch a random NSFW post from r/okbuddyumamusume (NSFW channels only)', }; + +export const TOP_COMMAND = { + name: 'top', + description: + 'Fetch a random top post from r/okbuddyumamusume (defaults to today)', + options: [ + { + type: 3, + name: 'time', + description: 'Time period for top posts (defaults to today)', + required: false, + choices: [ + { + name: 'Now', + value: 'hour', + }, + { + name: 'Today', + value: 'day', + }, + { + name: 'This Week', + value: 'week', + }, + { + name: 'This Month', + value: 'month', + }, + { + name: 'This Year', + value: 'year', + }, + { + name: 'All Time', + value: 'all', + }, + ], + }, + ], +}; -- cgit v1.2.3