refactor welcomebot to packages
This commit is contained in:
parent
0216578866
commit
11db25516b
3 changed files with 192 additions and 181 deletions
19
cmd/welcomebot/config/config.go
Normal file
19
cmd/welcomebot/config/config.go
Normal file
|
@ -0,0 +1,19 @@
|
|||
package config
|
||||
|
||||
import (
|
||||
"github.com/disgoorg/snowflake/v2"
|
||||
"os"
|
||||
)
|
||||
|
||||
var (
|
||||
Token = os.Getenv("disgo_token")
|
||||
RegisterGuildID = snowflake.GetEnv("disgo_guild_id")
|
||||
)
|
||||
|
||||
var (
|
||||
ChannelRulesMention string
|
||||
ChannelInfoMention string
|
||||
ChannelWelcomeID snowflake.ID
|
||||
RoleAppleID snowflake.ID
|
||||
RoleAppleCoreID snowflake.ID
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue