mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
@@ -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(true);
|
||||
const usage = client.registry.commands.get('help').usage('');
|
||||
await guild.systemChannel.send(`Hi! I'm Xiao, use ${usage} to see my commands, yes?`);
|
||||
} catch {
|
||||
// Nothing!
|
||||
|
||||
Reference in New Issue
Block a user