Add bot owner info to botinfo command
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Bea 2022-11-22 00:45:58 +01:00
parent 51de18206e
commit 7ae4790d5c
1 changed files with 4 additions and 1 deletions

View File

@ -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();