Skip to content
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.

Added CommandDispatcher as a default export. #350

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

MagnusHJensen
Copy link
Contributor

@MagnusHJensen MagnusHJensen commented Dec 24, 2020

A PR for #348
Really not much too it, other than adding the CommandDispatcher as a export in the index.js file.
So instead of having to require the absolute path.
People can then do const { CommandDispatcher } = require('discord.js-commando');

@MagnusHJensen MagnusHJensen changed the title Added CommanDispatcher as a default export. Added CommandDispatcher as a default export. Dec 24, 2020
@dragonfire535 dragonfire535 merged commit feb9f43 into discordjs:master Jan 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants