discordjs / Commando

Official command framework for discord.js
Apache License 2.0
495 stars 242 forks source link

CommandoMessage does not refer to CommandoClient #381

Closed geekahedron closed 3 years ago

geekahedron commented 3 years ago

If message is a CommandoMessage, using message.client will return the base Client class instead of CommandoClient, rendering any members of CommandoClient unavailable without an explicit cast (eg message.client.owners will fail)