Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 343 Bytes

using-client-values-in-a-command.md

File metadata and controls

16 lines (10 loc) · 343 Bytes

Client Values

This one is easy. Say you wanted to use a client value in your command, for example, you wanted to get the amount of guilds the bot was in. Normally, you'd do this:

client.guilds.size

However, in Commando, you have to use this to get these values.

this.client.guilds.size

That's all there is to it.