mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 00:04:48 +02:00
String Changes, Don't register tons of defaults
This commit is contained in:
@@ -14,8 +14,8 @@ module.exports = class UserInfoCommand extends commando.Command {
|
||||
],
|
||||
group: 'userinfo',
|
||||
memberName: 'user',
|
||||
description: "Gives some info on a user. (;user @User)",
|
||||
examples: [";user @User"],
|
||||
description: 'Gives some info on a user. (;user @User)',
|
||||
examples: [';user @User'],
|
||||
guildOnly: true,
|
||||
args: [{
|
||||
key: 'user',
|
||||
@@ -34,20 +34,20 @@ module.exports = class UserInfoCommand extends commando.Command {
|
||||
let stat;
|
||||
let color;
|
||||
switch (user.presence.status) {
|
||||
case "online":
|
||||
stat = "<:vpOnline:212789758110334977> Online";
|
||||
case 'online':
|
||||
stat = '<:vpOnline:212789758110334977> Online';
|
||||
color = 0x00AE86;
|
||||
break;
|
||||
case "idle":
|
||||
stat = "<:vpAway:212789859071426561> Idle";
|
||||
case 'idle':
|
||||
stat = '<:vpAway:212789859071426561> Idle';
|
||||
color = 0xFFFF00;
|
||||
break;
|
||||
case "dnd":
|
||||
stat = "<:vpDnD:230093576355184640> Do Not Disturb";
|
||||
case 'dnd':
|
||||
stat = '<:vpDnD:230093576355184640> Do Not Disturb';
|
||||
color = 0xFF0000;
|
||||
break;
|
||||
case "offline":
|
||||
stat = "<:vpOffline:212790005943369728> Offline";
|
||||
case 'offline':
|
||||
stat = '<:vpOffline:212790005943369728> Offline';
|
||||
color = 0x808080;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user