Merge branch 'dev' into 'main'
Dev See merge request illegitimate/illegitimate-bot!213
This commit is contained in:
@@ -44,16 +44,6 @@ export = {
|
|||||||
const { default: prettyMs } = await import("pretty-ms")
|
const { default: prettyMs } = await import("pretty-ms")
|
||||||
const prettyTime = prettyMs(time, { verbose: true })
|
const prettyTime = prettyMs(time, { verbose: true })
|
||||||
|
|
||||||
if (!time) {
|
|
||||||
await interaction.editReply({
|
|
||||||
embeds: [{
|
|
||||||
description: "Time is invalid for some reason",
|
|
||||||
color: embedColor
|
|
||||||
}]
|
|
||||||
})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if (time > 2419140000) {
|
if (time > 2419140000) {
|
||||||
await interaction.editReply({
|
await interaction.editReply({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
|
|||||||
Reference in New Issue
Block a user