NanderTGA / msgroom-orm

A MsgRoom client.
https://nandertga.github.io/msgroom-orm/
MIT License
4 stars 0 forks source link

Command should be easier to access #33

Closed mybearworld closed 1 year ago

mybearworld commented 1 year ago

The current toB code does this:

import Client from "msgroom-nightly";
import Command from "msgroom-nightly/dist/utils/Command.js";

This isn't ideal. Perhaps this could be changed to work like this:

import { Client, Command } from "msgroom-nightly";
NanderTGA commented 1 year ago

Yeah you're right. Thanks for opening the issue!

The library's exports have been weird to deal with to begin with. I should see how things work and figure out a better solution, including for the types file. More input would be ideal. I'll need to figure out if it's needed at all to export the types too from the main file.

mybearworld commented 1 year ago

You don't need to export types, as far as I know.