EthanThatOneKid / gitcord

😎 expand GitHub into Discord
MIT License
5 stars 2 forks source link

Expand support to Forums #18

Open EthanThatOneKid opened 1 year ago

EthanThatOneKid commented 1 year ago

Motivation

Hooray! Our club Discord server recently unlocked ✨Forums✨!!

Gitcord will be better represented on Discord using this new feature.

Suggested implementation

"just do an if" 😎

[4:44 PM]_diamondburned_: just
[4:44 PM]_diamondburned_: do an if
[4:45 PM]_diamondburned_:
```go
chType := discord.GuildForumChannel
if opts.UseThreads {
  chType = discord.GuildTextChannel
}
```