mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 09:00:10 +00:00
Discord: Display channel on account creation form
This commit is contained in:
parent
ce8cdced4d
commit
0676b6c41f
@ -89,6 +89,7 @@ func (d *DiscordDaemon) run() {
|
||||
d.serverChannelName = guild.Name
|
||||
if channel := d.app.config.Section("discord").Key("channel").String(); channel != "" {
|
||||
d.channelName = channel
|
||||
d.serverChannelName += "/" + channel
|
||||
}
|
||||
defer d.bot.Close()
|
||||
<-d.ShutdownChannel
|
||||
|
@ -122,6 +122,7 @@ type Lang struct {
|
||||
Common commonLangs
|
||||
SetupPath string
|
||||
Setup setupLangs
|
||||
// Telegram translations are also used for Discord bots (and likely future ones).
|
||||
chosenTelegramLang string
|
||||
TelegramPath string
|
||||
Telegram telegramLangs
|
||||
|
Loading…
Reference in New Issue
Block a user