Skip to content

Commit 22d6b1b

Browse files
committed
Add missing methods in detached guilds
1 parent e4df6db commit 22d6b1b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/main/java/net/dv8tion/jda/internal/entities/detached/DetachedGuildImpl.java

+14
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,13 @@ public SnowflakeCacheView<GuildSticker> getStickerCache()
536536
throw detachedException();
537537
}
538538

539+
@Nonnull
540+
@Override
541+
public SnowflakeCacheView<SoundboardSound> getSoundboardSoundCache()
542+
{
543+
throw detachedException();
544+
}
545+
539546
@Nonnull
540547
@Override
541548
public List<GuildChannel> getChannels(boolean includeHidden)
@@ -997,6 +1004,13 @@ public AuditableRestAction<Void> deleteSticker(@Nonnull StickerSnowflake id)
9971004
throw detachedException();
9981005
}
9991006

1007+
@Nonnull
1008+
@Override
1009+
public SoundboardSoundCreateAction createSoundboardSound(@Nonnull String name, @Nonnull FileUpload file)
1010+
{
1011+
throw detachedException();
1012+
}
1013+
10001014
@Nonnull
10011015
@Override
10021016
public ChannelOrderAction modifyCategoryPositions()

0 commit comments

Comments
 (0)