Skip to content

Commit

Permalink
resolves #56, resolves #55
Browse files Browse the repository at this point in the history
  • Loading branch information
AspectOfJerry committed Oct 28, 2022
1 parent f425738 commit 3c6aaff
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion commands/client/stop.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module.exports = {
new MessageButton()
.setCustomId('stop_cancel_button')
.setLabel('Cancel')
.setStyle('PRIMARY')
.setStyle('SECONDARY')
.setDisabled(false)
);

Expand Down
2 changes: 1 addition & 1 deletion commands/moderation/ban.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ module.exports = {
new MessageButton()
.setCustomId('ban_cancel_button')
.setLabel('Cancel')
.setStyle('PRIMARY')
.setStyle('SECONDARY')
.setDisabled(false),
);

Expand Down
2 changes: 1 addition & 1 deletion commands/moderation/kick.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports = {
new MessageButton()
.setCustomId('kick_cancel_button')
.setLabel('Cancel')
.setStyle('PRIMARY')
.setStyle('SECONDARY')
.setDisabled(false)
);

Expand Down
2 changes: 1 addition & 1 deletion commands/moderation/timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ module.exports = {
new MessageButton()
.setCustomId('override_cancel_button')
.setLabel('Cancel')
.setStyle('PRIMARY')
.setStyle('SECONDARY')
.setDisabled(false)
);

Expand Down
3 changes: 2 additions & 1 deletion modules/system_monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ async function IniSystemMonitor(_client) {
const embed = new MessageEmbed()
.setColor('GREEN')
.setTitle('JerryBot System Monitor')
.setDescription(`• *Relative timestamps can look out of sync depending on your timezone;\n\n:arrows_counterclockwise: Last updated: <t:${Math.floor(Date.now() / 1000)}:R>;`)
.setDescription(`:arrows_counterclockwise: Last updated: <t:${Math.floor(Date.now() / 1000)}:R>;`)
.addField('Checklist', `:x: Bot is not fully ready;\n:x: Heartbeat not synced;\n:x: Jobs inactive;`, false)
.addField('Last Heartbeat', `:heartbeat: N/A;`, true)
.addField('Next expected Heartbeat', `:green_heart: <t:${next_heartbeat_timestamp}:R>;`, true)
.setFooter({text: "Relative timestamps can look out of sync depending on your timezone;"})
.setTimestamp();

messages.push(await channels[0].send({embeds: [embed]}));
Expand Down

0 comments on commit 3c6aaff

Please sign in to comment.