Fix oopsy v2
This commit is contained in:
1 parent
9aa8f3da75
commit
325aa1df77
1 file changed
+3
-3
@@ -69,15 +69,15 @@ public class Settings {
|
|||||||
public final String DATETIMEFORMAT = "yyyy-MM-dd HH:mm:ss";
|
public final String DATETIMEFORMAT = "yyyy-MM-dd HH:mm:ss";
|
||||||
|
|
||||||
public User getCreator() {
|
public User getCreator() {
|
||||||
return MusicBot.getJDA().getUserById(get("bot.owner"));
|
return MusicBot.getJDA().getUserById(get("BOT_OWNER"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Guild getOwnerGuild() {
|
public Guild getOwnerGuild() {
|
||||||
return MusicBot.getJDA().getGuildById(get("bot.ownerguild"));
|
return MusicBot.getJDA().getGuildById(get("BOT_OWNERGUILD"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TextChannel getLogChannel() {
|
public TextChannel getLogChannel() {
|
||||||
return MusicBot.getJDA().getTextChannelById(get("bot.errorchannel"));
|
return MusicBot.getJDA().getTextChannelById(get("BOT_ERRORCHANNEL"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user