Finish implementing configuration file
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Configuration file is now fully functional. Startup arguments for bot token and heartbeat key have now been removed.
This commit is contained in:
@@ -13,7 +13,7 @@ public class DieCommand
|
||||
|
||||
public void runSlashCommand(@NotNull SlashCommandInteractionEvent event)
|
||||
{
|
||||
if(Cache.getBotOwnerId() != event.getMember().getIdLong())
|
||||
if(Cache.getBotOwnerId() != event.getUser().getIdLong())
|
||||
{
|
||||
event.reply("Sorry, only the bot owner can run this command!").setEphemeral(true).queue();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user