Use globalName

This commit is contained in:
lilyissillyyy
2025-09-18 16:11:31 -04:00
parent 4a8aa67a72
commit 46e7a9e244
21 changed files with 48 additions and 36 deletions
@@ -75,10 +75,10 @@ module.exports = class AxisCultSignUpCommand extends Command {
} else {
ctx.font = this.client.fonts.get('Konosuba.ttf').toCanvasString(96);
}
ctx.fillText(msg.author.username, 960, 1558);
ctx.fillText(msg.author.globalName || msg.author.username, 960, 1558);
ctx.fillText(gender, 960, 1752);
ctx.fillText(age, 1700, 1752);
ctx.fillText('XXX-XXX-XXXX', 960, 1960);
ctx.fillText(msg.author.id, 960, 1960);
ctx.fillText(profession, 960, 2169);
ctx.fillText('Xiao', 960, 2370);
if (flags.english || flags.en) {
+1 -1
View File
@@ -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
}
]
});