Add bot owner info to botinfo command
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2022-11-22 00:45:58 +01:00
parent 51de18206e
commit 7ae4790d5c

View File

@ -34,7 +34,10 @@ public class BotInfoCommand
if(botAvatarUrl != null) embedBuilder.setThumbnail(botAvatarUrl); if(botAvatarUrl != null) embedBuilder.setThumbnail(botAvatarUrl);
// help field // 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 // commands list field
StringBuilder commandsListBuilder = new StringBuilder(); StringBuilder commandsListBuilder = new StringBuilder();