From 7ae4790d5cfed4ca3bb73bcb632ff23026ce3a84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Tue, 22 Nov 2022 00:45:58 +0100 Subject: [PATCH] Add bot owner info to botinfo command --- .../beatrice/hidekobot/commands/slash/BotInfoCommand.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/wtf/beatrice/hidekobot/commands/slash/BotInfoCommand.java b/src/main/java/wtf/beatrice/hidekobot/commands/slash/BotInfoCommand.java index 15b45f9..72eeb18 100644 --- a/src/main/java/wtf/beatrice/hidekobot/commands/slash/BotInfoCommand.java +++ b/src/main/java/wtf/beatrice/hidekobot/commands/slash/BotInfoCommand.java @@ -34,7 +34,10 @@ public class BotInfoCommand if(botAvatarUrl != null) embedBuilder.setThumbnail(botAvatarUrl); // help field - embedBuilder.addField("Getting started", "Type `/help` for help!", false); + long ownerId = Cache.getBotOwnerId(); + embedBuilder.addField("Getting started", + "This instance is run by <@" + ownerId + ">.\nType `/help` for help! ", + false); // commands list field StringBuilder commandsListBuilder = new StringBuilder();