withGuild

fun withGuild(guildObj: GuildBehavior): StorageUnit<T>

Copy this StorageUnit, applying the given guild's ID to its context.


fun withGuild(guildId: Snowflake): StorageUnit<T>

Copy this StorageUnit, applying the given guild ID to its context.