|
12 | 12 | import net.dv8tion.jda.api.OnlineStatus;
|
13 | 13 | import net.dv8tion.jda.api.Permission;
|
14 | 14 | import net.dv8tion.jda.api.entities.*;
|
| 15 | +import net.dv8tion.jda.api.entities.channel.Channel; |
15 | 16 | import net.dv8tion.jda.api.entities.channel.concrete.*;
|
16 | 17 | import net.dv8tion.jda.api.entities.channel.middleman.AudioChannel;
|
17 | 18 | import net.dv8tion.jda.api.entities.emoji.RichCustomEmoji;
|
|
28 | 29 | import net.dv8tion.jda.api.requests.GatewayIntent;
|
29 | 30 | import net.dv8tion.jda.api.requests.RestAction;
|
30 | 31 | import net.dv8tion.jda.api.requests.restaction.*;
|
| 32 | +import net.dv8tion.jda.api.requests.restaction.pagination.EntitlementPaginationAction; |
31 | 33 | import net.dv8tion.jda.api.sharding.ShardManager;
|
32 | 34 | import net.dv8tion.jda.api.utils.cache.CacheFlag;
|
33 | 35 | import net.dv8tion.jda.api.utils.cache.CacheView;
|
| 36 | +import net.dv8tion.jda.api.utils.cache.ChannelCacheView; |
34 | 37 | import net.dv8tion.jda.api.utils.cache.SnowflakeCacheView;
|
35 | 38 | import okhttp3.OkHttpClient;
|
36 | 39 | import org.checkerframework.checker.nullness.qual.NonNull;
|
@@ -362,6 +365,12 @@ public SnowflakeCacheView<ScheduledEvent> getScheduledEventCache() {
|
362 | 365 | return EmptySnowflakeCacheView.emptySnowflakeCacheView();
|
363 | 366 | }
|
364 | 367 |
|
| 368 | + @NotNull |
| 369 | + @Override |
| 370 | + public ChannelCacheView<Channel> getChannelCache() { |
| 371 | + return EmptyChannelCacheView.emptyChannelCacheView(); |
| 372 | + } |
| 373 | + |
365 | 374 | @NonNull
|
366 | 375 | @Override
|
367 | 376 | public SnowflakeCacheView<StageChannel> getStageChannelCache() {
|
@@ -521,6 +530,30 @@ public RestAction<ApplicationInfo> retrieveApplicationInfo() {
|
521 | 530 | return new DummyRestAction<>(this, applicationInfo);
|
522 | 531 | }
|
523 | 532 |
|
| 533 | + @NotNull |
| 534 | + @Override |
| 535 | + public EntitlementPaginationAction retrieveEntitlements() { |
| 536 | + return null; |
| 537 | + } |
| 538 | + |
| 539 | + @NotNull |
| 540 | + @Override |
| 541 | + public RestAction<Entitlement> retrieveEntitlementById(long id) { |
| 542 | + return new DummyRestAction<>(this); |
| 543 | + } |
| 544 | + |
| 545 | + @NotNull |
| 546 | + @Override |
| 547 | + public TestEntitlementCreateAction createTestEntitlement(long l, long l1, @NotNull TestEntitlementCreateAction.OwnerType ownerType) { |
| 548 | + return null; |
| 549 | + } |
| 550 | + |
| 551 | + @NotNull |
| 552 | + @Override |
| 553 | + public RestAction<Void> deleteTestEntitlement(long l) { |
| 554 | + return new DummyRestAction<>(this); |
| 555 | + } |
| 556 | + |
524 | 557 | @NonNull
|
525 | 558 | @Override
|
526 | 559 | public JDA setRequiredScopes(@NonNull Collection<String> scopes) {
|
|
0 commit comments