zerinho6bot-zz / Zerinho6-Bot

Pretty fast and lite Discord bot made in JavaScript using Discord.js
MIT License
5 stars 2 forks source link

zerinhoEmbed as param #6

Closed zerinho6 closed 5 years ago

zerinho6 commented 5 years ago

Is your feature request related to a problem? Please describe. Almost any file uses the zerinhoEmbed feature and we always need to pass message.member as param, making repetitive code.

Describe the solution you'd like My solution would be pass MESSAGE_UTILS.zerinhoEmbed directly from message.js to every command, that way the embed would already come configured to the message.member and we would only have to create another if it's related to a mentioned user or something like that.

Describe alternatives you've considered Simply require MESSAGE_UTILS on message.js and pass MESSAGE_UTILS.zerinhoEmbed(message.member) as param to every command.