-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6afafa1
commit c3dd692
Showing
14 changed files
with
410 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/main/java/com/severalcircles/flames/frontend/DayPart.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Copyright (c) 2023 Several Circles | ||
*/ | ||
|
||
package com.severalcircles.flames.frontend; | ||
|
||
public enum DayPart { | ||
EARLY_MORNING(4, 6), MORNING(7, 11), AFTERNOON(12, 5), EVENING(6, 9), NIGHT(10, 12), MIDNIGHT(1, 3); | ||
private final double hourStart; | ||
private final double hourFinish; | ||
|
||
DayPart(double hourStart, double hourFinish) { | ||
this.hourStart = hourStart; | ||
this.hourFinish = hourFinish; | ||
} | ||
|
||
public double getHourStart() { | ||
return hourStart; | ||
} | ||
|
||
public double getHourFinish() { | ||
return hourFinish; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/main/java/com/severalcircles/flames/frontend/WelcomeBackEmbed.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright (c) 2023 Several Circles | ||
*/ | ||
|
||
package com.severalcircles.flames.frontend; | ||
|
||
import net.dv8tion.jda.api.entities.MessageEmbed; | ||
|
||
import java.util.Locale; | ||
|
||
@Embed(name = "WelcomeBack") | ||
public class WelcomeBackEmbed extends FlamesEmbed { | ||
|
||
public WelcomeBackEmbed(Locale locale) { | ||
super(locale); | ||
} | ||
|
||
@Override | ||
public MessageEmbed get() { | ||
return null; | ||
} | ||
} |
Oops, something went wrong.