Skip to content

Commit

Permalink
add custom()
Browse files Browse the repository at this point in the history
  • Loading branch information
meqativ authored Oct 1, 2024
1 parent 59630f2 commit a62d890
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gateway/src/commonMain/kotlin/builder/PresenceBuilder.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ public class PresenceBuilder {
public fun competing(name: String) {
game = DiscordBotActivity(name, ActivityType.Competing)
}

public fun custom(name: String) {
game = DiscordBotActivity(name, ActivityType.Custom)
}


private fun buildGame(): DiscordBotActivity? {
val game = game
Expand Down

0 comments on commit a62d890

Please sign in to comment.