Add bot owner info to botinfo command
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
51de18206e
commit
7ae4790d5c
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user