Options
All
  • Public
  • Public/Protected
  • All
Menu

The options for creating a new CommandHandler instance.

Hierarchy

  • CreateCommandHandlerOptions

Index

Properties

commandsDir

commandsDir: string

The directory of your commands.

eventsDir

eventsDir: string

The directory of your events.

Optional owners

owners: string[]

The owners IDs from discord of the bot.

Optional prefixes

prefixes: string[]

The prefixes for the CommandHandler.

Optional saveLogsInFile

saveLogsInFile: string[]

Save all the logs in these files.

remarks

If one of the files is not found, it will create it.

Optional useMentionAsPrefix

useMentionAsPrefix: boolean

Add mention of the bot as prefixes.

defaultvalue

true

Generated using TypeDoc