mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
Use globalName
This commit is contained in:
@@ -64,7 +64,7 @@ module.exports = class RipCommand extends Command {
|
||||
ctx.textBaseline = 'top';
|
||||
ctx.textAlign = 'center';
|
||||
ctx.font = this.client.fonts.get('CoffinStone.otf').toCanvasString(62);
|
||||
this.fillPressedText(ctx, user.username, 438, 330, 500);
|
||||
this.fillPressedText(ctx, user.globalName || user.username, 438, 330, 500);
|
||||
if (cause) this.fillPressedText(ctx, cause, 438, 920, 500);
|
||||
ctx.font = this.client.fonts.get('CoffinStone.otf').toCanvasString(37);
|
||||
this.fillPressedText(ctx, 'In Loving Memory of', 438, 292);
|
||||
|
||||
Reference in New Issue
Block a user