JackDotJS / vector-bot

A Discord bot for advanced moderation and server management.
https://discord.gg/s5nQBxFPp2
MIT License
15 stars 3 forks source link

index: remove star imports in favor of explicit method imports #12

Open bdotsamir opened 2 years ago

bdotsamir commented 2 years ago

image image

cleans up a bunch from the transpiled code :+1:

bdotsamir commented 2 years ago

star imports are really only good when you wanna import a lot, or when the module doesnt properly export its methods. also it looks cleaner lol

JackDotJS commented 2 years ago

i realize this is the much better approach to module imports but is it rly necessary this early into development? i feel like it's a lot easier and faster to use star imports rn, especially when we dont 100% know what we will/wont be using when building foundational scripts like this.

bdotsamir commented 2 years ago

we can always add/remove imports later 🤷‍♂️ also good habit to have i guess.

whatever's good with you. that's why this is a pr- i knew you'd wanna say something about it