Skip to content

Commit

Permalink
Fix game selling deprecation link (see discord/discord-api-docs#5384)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukellmann committed Aug 30, 2022
1 parent 94de408 commit dc62be3
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 11 deletions.
3 changes: 2 additions & 1 deletion common/src/main/kotlin/entity/DiscordChannel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ public sealed class ChannelType(public val value: Int) {
Discord no longer offers the ability to purchase a license to sell PC games on Discord and store channels were
removed on March 10, 2022.
See https://support-dev.discord.com/hc/en-us/articles/4414590563479 for more information.
See https://support-dev.discord.com/hc/en-us/articles/6309018858647-Self-serve-Game-Selling-Deprecation for more
information.
""",
level = ERROR,
)
Expand Down
3 changes: 2 additions & 1 deletion core/src/main/kotlin/Unsafe.kt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ public class Unsafe(private val kord: Kord) {
Discord no longer offers the ability to purchase a license to sell PC games on Discord and store channels were
removed on March 10, 2022.
See https://support-dev.discord.com/hc/en-us/articles/4414590563479 for more information.
See https://support-dev.discord.com/hc/en-us/articles/6309018858647-Self-serve-Game-Selling-Deprecation for more
information.
""",
level = ERROR,
)
Expand Down
9 changes: 6 additions & 3 deletions core/src/main/kotlin/behavior/channel/StoreChannelBehavior.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ import kotlin.contracts.contract
Discord no longer offers the ability to purchase a license to sell PC games on Discord and store channels were
removed on March 10, 2022.
See https://support-dev.discord.com/hc/en-us/articles/4414590563479 for more information.
See https://support-dev.discord.com/hc/en-us/articles/6309018858647-Self-serve-Game-Selling-Deprecation for more
information.
""",
level = ERROR,
)
Expand Down Expand Up @@ -85,7 +86,8 @@ public interface StoreChannelBehavior : CategorizableChannelBehavior {
Discord no longer offers the ability to purchase a license to sell PC games on Discord and store channels were
removed on March 10, 2022.
See https://support-dev.discord.com/hc/en-us/articles/4414590563479 for more information.
See https://support-dev.discord.com/hc/en-us/articles/6309018858647-Self-serve-Game-Selling-Deprecation for more
information.
""",
level = ERROR,
)
Expand Down Expand Up @@ -127,7 +129,8 @@ public fun StoreChannelBehavior(
Discord no longer offers the ability to purchase a license to sell PC games on Discord and store channels were
removed on March 10, 2022.
See https://support-dev.discord.com/hc/en-us/articles/4414590563479 for more information.
See https://support-dev.discord.com/hc/en-us/articles/6309018858647-Self-serve-Game-Selling-Deprecation for more
information.
""",
level = ERROR,
)
Expand Down
3 changes: 2 additions & 1 deletion core/src/main/kotlin/entity/channel/StoreChannel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import kotlin.DeprecationLevel.ERROR
Discord no longer offers the ability to purchase a license to sell PC games on Discord and store channels were
removed on March 10, 2022.
See https://support-dev.discord.com/hc/en-us/articles/4414590563479 for more information.
See https://support-dev.discord.com/hc/en-us/articles/6309018858647-Self-serve-Game-Selling-Deprecation for more
information.
""",
level = ERROR,
)
Expand Down
3 changes: 2 additions & 1 deletion core/src/main/kotlin/event/channel/ChannelCreateEvent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public class NewsChannelCreateEvent(
Discord no longer offers the ability to purchase a license to sell PC games on Discord and store channels were
removed on March 10, 2022.
See https://support-dev.discord.com/hc/en-us/articles/4414590563479 for more information.
See https://support-dev.discord.com/hc/en-us/articles/6309018858647-Self-serve-Game-Selling-Deprecation for more
information.
""",
level = ERROR,
)
Expand Down
3 changes: 2 additions & 1 deletion core/src/main/kotlin/event/channel/ChannelDeleteEvent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public class NewsChannelDeleteEvent(
Discord no longer offers the ability to purchase a license to sell PC games on Discord and store channels were
removed on March 10, 2022.
See https://support-dev.discord.com/hc/en-us/articles/4414590563479 for more information.
See https://support-dev.discord.com/hc/en-us/articles/6309018858647-Self-serve-Game-Selling-Deprecation for more
information.
""",
level = ERROR,
)
Expand Down
3 changes: 2 additions & 1 deletion core/src/main/kotlin/event/channel/ChannelUpdateEvent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public class NewsChannelUpdateEvent(
Discord no longer offers the ability to purchase a license to sell PC games on Discord and store channels were
removed on March 10, 2022.
See https://support-dev.discord.com/hc/en-us/articles/4414590563479 for more information.
See https://support-dev.discord.com/hc/en-us/articles/6309018858647-Self-serve-Game-Selling-Deprecation for more
information.
""",
level = ERROR,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ public class NewsChannelModifyBuilder : PermissionOverwritesModifyBuilder,
Discord no longer offers the ability to purchase a license to sell PC games on Discord and store channels were
removed on March 10, 2022.
See https://support-dev.discord.com/hc/en-us/articles/4414590563479 for more information.
See https://support-dev.discord.com/hc/en-us/articles/6309018858647-Self-serve-Game-Selling-Deprecation for more
information.
""",
level = ERROR,
)
Expand Down
3 changes: 2 additions & 1 deletion rest/src/main/kotlin/service/ChannelService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,8 @@ public suspend inline fun ChannelService.patchStageVoiceChannel(
Discord no longer offers the ability to purchase a license to sell PC games on Discord and store channels were
removed on March 10, 2022.
See https://support-dev.discord.com/hc/en-us/articles/4414590563479 for more information.
See https://support-dev.discord.com/hc/en-us/articles/6309018858647-Self-serve-Game-Selling-Deprecation for more
information.
""",
level = ERROR,
)
Expand Down

0 comments on commit dc62be3

Please sign in to comment.