Newer
Older
yuyuko-bot / src / main / scala / roleassign / RoleAssign.scala
@Dale TwoKey Dale TwoKey on 23 Aug 2021 891 bytes misc: Initial commit
package social.gensokyo.discordbot
package roleassign

object RoleAssign {
  val textId = "875460871550275655"
  private val channelId = "875460845272989757"
  private val assigners: Seq[RoleAssigner] = Seq(
    new RoleAssigner("875451343626698803", "♂️"), // he / him
    new RoleAssigner("875480896311029770", "♀️"), // she / her
    new RoleAssigner("875480925096509441", "\uD83D\uDC9C"), // they / them
    new RoleAssigner("875480943786348604", "❓"), // see / bio
    new RoleAssigner("875480967651950663", "\uD83E\uDD85"), // Americas,
    new RoleAssigner("875481038086873150", "\uD83C\uDDEA\uD83C\uDDFA"), // Europes,
    new RoleAssigner("875483975546712134", ":alway_rember:"), // Happy Days,
    new RoleAssigner("879089387311341598", "\uD83D\uDD28"), // Dev role
  )

  def getRole(emoji: String): Option[String] =
    assigners.find(_.emoji == emoji).map(_.roleId)
}