Open webcoyote opened 4 years ago
Found the solution. For future readers, it turns out that you need to invite yourself to the server:
resource discord_invite welcome {
channel_id = discord_text_channel.welcome.id
max_age = 0
}
output invite {
value = "https://discord.gg/${discord_invite.welcome.id}"
}
Open the link to add yourself to the server.
I'm endeavoring to create a server using Terraform and your library, and while everything runs, and (apparently) a server is created, I'm not able to see any text channels, and get this error:
Here's the code:
And the result:
Any suggestions? And thanks. I hope that a simple example like the code above might help other folks get things working too.