From 2f5d474f2835c82320dc76edf9ad744e03d76ebf Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Wed, 24 Jul 2024 13:47:51 -0600 Subject: [PATCH] utility.appinfo: add bot user info to deleted apps --- src/modules/utility/appinfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/utility/appinfo.js b/src/modules/utility/appinfo.js index 1e5cab2..db8040c 100644 --- a/src/modules/utility/appinfo.js +++ b/src/modules/utility/appinfo.js @@ -42,7 +42,7 @@ appinfo.callback = async function (msg, line) { const embed = { title: `${app.name}`, - description: app.description.length > 0 ? app.description : "*No description*.", + description: app.description.length > 0 ? app.description : "*No description.*", fields: [ { name: "Created", @@ -282,7 +282,7 @@ appinfo.callback = async function (msg, line) { try { const bot = await hf.bot.requestHandler.request("GET", APIEndpoints.USER(snowflake), true); if (bot) { - return "Application has been deleted."; + return `Application has been deleted.\nBot user: ${formatUsername(bot)}`; } else { return "ID provided does not point to a valid application."; }