v3/terraform/interactions.tf

41 lines
1.1 KiB
HCL

resource "discord-interactions_guild_command" "hello-world" {
name = "hello-world"
description = "Says hello!"
guild_id = "386659935687147521"
}
resource "discord-interactions_global_command" "roleypoly" {
name = "roleypoly"
description = "Find out how to use Roleypoly"
}
resource "discord-interactions_global_command" "pickable-roles" {
name = "pickable-roles"
description = "See the roles you can pick from"
}
resource "discord-interactions_guild_command" "pick-role" {
name = "pick-role"
description = "Pick a new role (see /pickable-roles for a full list)"
guild_id = "386659935687147521"
option {
name = "role"
description = "The role you want"
type = 8
required = true
}
}
resource "discord-interactions_guild_command" "remove-role" {
name = "remove-role"
description = "Remove a role you already have"
guild_id = "386659935687147521"
option {
name = "role"
description = "The role you want to remove"
type = 8
required = true
}
}