refactor welcomebot to packages

This commit is contained in:
Seraphim Strub 2023-03-08 21:27:50 +01:00
parent 0216578866
commit 11db25516b
3 changed files with 192 additions and 181 deletions

View 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
)