From 2a473b65b7d14323109dbee9c08396c4c3a4d740 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 27 Oct 2019 22:16:27 -0400 Subject: [PATCH] sysinfo cmd embed updates --- src/commands/sysinfo.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/sysinfo.ts b/src/commands/sysinfo.ts index 35185eb..be7601c 100644 --- a/src/commands/sysinfo.ts +++ b/src/commands/sysinfo.ts @@ -28,6 +28,8 @@ export default class SysInfo extends Command { embed.addField('Memory/RAM', `${usedMemory} / ${dataConversion(totalmem())}`, true); embed.addField('Network Interfaces (IPv4)', os.networkInterfaces().eth0.filter((r) => r.family === 'IPv4')[0].address, true); embed.addField('Network Interfaces (IPv6)', os.networkInterfaces().eth0.filter((r) => r.family === 'IPv6')[0].address, true); + embed.setFooter(this.client.user.username, this.client.user.avatarURL); + embed.setTimestamp(); // @ts-ignore message.channel.createMessage({ embed }); }