mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 10:02:05 +02:00
Use globalName
This commit is contained in:
@@ -45,7 +45,7 @@ module.exports = class CertificateCommand extends Command {
|
||||
key: 'name',
|
||||
type: 'string',
|
||||
max: 30,
|
||||
default: msg => msg.author.username
|
||||
default: msg => msg.author.globalName || msg.author.username
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user