Skip to content

Commit

Permalink
feat: add events default directory to config
Browse files Browse the repository at this point in the history
  • Loading branch information
dankerow committed May 28, 2024
1 parent 4fa6572 commit ec6d12c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/configLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ export async function loadConfig(
defaults: {
maintenance: false,
dirs: {
commands: 'src/commands'
commands: 'src/commands',
events: 'src/events'
},
maintainers: []
}
Expand Down
1 change: 1 addition & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import type {
export interface Config {
dirs?: {
commands?: string
events?: string
}
maintainers?: Snowflake[]
}
Expand Down

0 comments on commit ec6d12c

Please sign in to comment.