summaryrefslogtreecommitdiff
path: root/src/discord/commands.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-09-09 18:16:44 -0700
committerFuwn <[email protected]>2025-09-09 18:16:44 -0700
commit8baec3564fccac1a7743ac9de481f54e0808c0c9 (patch)
treee29b09fb158539a15df8a5a10bb484666fb22c2d /src/discord/commands.ts
parentrefactor(src): Use arrow functions everywhere (diff)
downloadumabotdiscord-8baec3564fccac1a7743ac9de481f54e0808c0c9.tar.xz
umabotdiscord-8baec3564fccac1a7743ac9de481f54e0808c0c9.zip
style: Use base prettier:recommended rules
Diffstat (limited to 'src/discord/commands.ts')
-rw-r--r--src/discord/commands.ts46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/discord/commands.ts b/src/discord/commands.ts
index dec18e6..b4436d6 100644
--- a/src/discord/commands.ts
+++ b/src/discord/commands.ts
@@ -1,57 +1,57 @@
-import type { DiscordCommand } from './interfaces.ts';
+import type { DiscordCommand } from "./interfaces.ts";
export type { DiscordCommand };
export const HOT_COMMAND: DiscordCommand = {
- name: 'hot',
- description: 'Fetch a random hot post from r/okbuddyumamusume',
+ name: "hot",
+ description: "Fetch a random hot post from r/okbuddyumamusume",
};
export const ROLEPLAY_COMMAND: DiscordCommand = {
- name: 'roleplay',
- description: 'Fetch a random hot roleplay post from r/okbuddyumamusume',
+ name: "roleplay",
+ description: "Fetch a random hot roleplay post from r/okbuddyumamusume",
};
export const NSFW_COMMAND: DiscordCommand = {
- name: 'nsfw',
+ name: "nsfw",
description:
- 'Fetch a random NSFW post from r/okbuddyumamusume (NSFW channels only)',
+ "Fetch a random NSFW post from r/okbuddyumamusume (NSFW channels only)",
};
export const TOP_COMMAND: DiscordCommand = {
- name: 'top',
+ name: "top",
description:
- 'Fetch a random top post from r/okbuddyumamusume (defaults to today)',
+ "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)',
+ name: "time",
+ description: "Time period for top posts (defaults to today)",
required: false,
choices: [
{
- name: 'Now',
- value: 'hour',
+ name: "Now",
+ value: "hour",
},
{
- name: 'Today',
- value: 'day',
+ name: "Today",
+ value: "day",
},
{
- name: 'This Week',
- value: 'week',
+ name: "This Week",
+ value: "week",
},
{
- name: 'This Month',
- value: 'month',
+ name: "This Month",
+ value: "month",
},
{
- name: 'This Year',
- value: 'year',
+ name: "This Year",
+ value: "year",
},
{
- name: 'All Time',
- value: 'all',
+ name: "All Time",
+ value: "all",
},
],
},