Skip to content

Commit 4337a26

Browse files
committed
Resolve #4
1 parent ec45fb0 commit 4337a26

80 files changed

Lines changed: 1005 additions & 356 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/xyz/srnyx/lazylibrary/LazyComponent.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
import org.jetbrains.annotations.NotNull;
1010
import org.jetbrains.annotations.Nullable;
1111

12+
import xyz.srnyx.lazylibrary.emoji.LazyEmoji;
13+
1214

1315
/**
1416
* A utility class that provides methods for creating common components used in the bot's responses.

src/main/java/xyz/srnyx/lazylibrary/LazyEmbed.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
import xyz.srnyx.javautilities.MiscUtility;
1414
import xyz.srnyx.javautilities.parents.Stringable;
1515

16+
import xyz.srnyx.lazylibrary.emoji.LazyEmoji;
17+
1618
import java.awt.*;
1719
import java.time.Instant;
1820
import java.time.temporal.ChronoField;

src/main/java/xyz/srnyx/lazylibrary/LazyEmoji.java

Lines changed: 0 additions & 346 deletions
This file was deleted.

src/main/java/xyz/srnyx/lazylibrary/LazyLibrary.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ public void startBot(@NotNull Class<?> botClass) {
170170
searchPaths.forEach(config::addSearchPath);
171171
// Enable components
172172
config.components(components -> components.enable(true));
173+
// Enable emoji service
174+
config.appEmojis(emojis -> emojis.enable(true));
173175
// Custom config
174176
builder.accept(config);
175177
});

0 commit comments

Comments
 (0)