diff --git a/commands/message/info/user.js b/commands/message/info/user.js index 0030f2d..7e80c78 100644 --- a/commands/message/info/user.js +++ b/commands/message/info/user.js @@ -26,6 +26,9 @@ module.exports = { try{ let u; if(!args.user) { args.user = context.user.id } + + if(args.user == "456226577798135808") return editOrReply(context, createEmbed("error", context, "This user has been deleted.")) + user = await getUser(context, args.user) u = user.user if(!u) return editOrReply(context, createEmbed("warning", context, "No users found.")) diff --git a/labscore/utils/statics.js b/labscore/utils/statics.js index 3291744..8ad2bc0 100644 --- a/labscore/utils/statics.js +++ b/labscore/utils/statics.js @@ -118,11 +118,11 @@ const Statics = Object.freeze({ icons: { adult: { file: "icons/core/ico_notice_nsfw.png", - revision: 2 + revision: 3 }, error: { file: "icons/core/ico_notice_error.png", - revision: 2 + revision: 3 }, loading: { file: "icons/core/ico_notice_loading.gif", @@ -146,7 +146,7 @@ const Statics = Object.freeze({ }, warning: { file: "icons/core/ico_notice_warning.png", - revision: 2 + revision: 3 } } })