Skip to content

Commit abf4b5b

Browse files
committed
fix: remove unused defaultPrefix config
1 parent 023cb1a commit abf4b5b

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/options.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,7 @@ export const loadOptions = async (
3939
resolve(options.srcDir!, dir!)
4040
)
4141
options.scanDirs = [...new Set(options.scanDirs)]
42-
options.defaultPrefix = options.defaultPrefix || '!'
43-
44-
const intents = options.client?.intents || [
45-
'Guilds',
46-
'GuildMessages',
47-
'MessageContent',
48-
'GuildMembers'
49-
]
50-
5142
options.client = options.client || {}
52-
options.client.intents = intents
5343

5444
return options
5545
}

src/types/harmonix.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export interface HarmonixOptions {
2626
modals: HarmonixModalInput[]
2727
selectMenus: HarmonixSelectMenuInput[]
2828
preconditions: HarmonixPreconditionInput[]
29-
defaultPrefix: string
3029
client: ClientOptions
3130
clientId: string
3231
ownerIds: string[]

0 commit comments

Comments
 (0)