diff options
Diffstat (limited to 'src/commands.js')
| -rw-r--r-- | src/commands.js | 40 |
1 files changed, 40 insertions, 0 deletions
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', + }, + ], + }, + ], +}; |