mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 11:40:27 +00:00
Rename discord guild to server.
This commit is contained in:
parent
d31e641bac
commit
1e84afbd90
@ -16,7 +16,6 @@ type Message struct {
|
||||
|
||||
type Protocol struct {
|
||||
BindAddress string // mattermost, slack
|
||||
Guild string // discord
|
||||
IconURL string // mattermost, slack
|
||||
IgnoreNicks string // all protocols
|
||||
Jid string // xmpp
|
||||
|
@ -59,7 +59,7 @@ func (b *bdiscord) Connect() error {
|
||||
}
|
||||
b.Nick = userinfo.Username
|
||||
for _, guild := range guilds {
|
||||
if guild.Name == b.Config.Guild {
|
||||
if guild.Name == b.Config.Server {
|
||||
b.Channels, err = b.c.GuildChannels(guild.ID)
|
||||
if err != nil {
|
||||
flog.Debugf("%#v", err)
|
||||
|
Loading…
Reference in New Issue
Block a user