Fix arg default in usage

This commit is contained in:
Dragon Fire
2024-04-19 17:44:53 -04:00
parent 4a29ccc12f
commit 9214cb7640
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ client.on('guildCreate', async guild => {
}
if (guild.systemChannel && guild.systemChannel.permissionsFor(client.user).has(PermissionFlagsBits.SendMessages)) {
try {
const usage = client.registry.commands.get('help').usage();
const usage = client.registry.commands.get('help').usage(true);
await guild.systemChannel.send(`Hi! I'm Xiao, use ${usage} to see my commands, yes?`);
} catch {
// Nothing!