Need to refactor the embed() utility function because, frankly, it doesn't provide much utility and is a bit shit.
Just replace it with a Map containing the types mapped to their colours, and import that anywhere and embed is needed, then construct/send the embed directly in the commands themselves; it's getting too complicated to type it otherwise.
Need to refactor the
embed()utility function because, frankly, it doesn't provide much utility and is a bit shit.Just replace it with a
Mapcontaining the types mapped to their colours, and import that anywhere and embed is needed, then construct/send the embed directly in the commands themselves; it's getting too complicated to type it otherwise.