Eco-DiscordLink / EcoDiscordPlugin

A plugin that interfaces Eco Global Survival's server with Discord
GNU Affero General Public License v3.0
33 stars 15 forks source link

ERROR: Failed to forward Eco message from user as no guild with the name or ID Eco-Server exists #58

Closed UrbanSide closed 3 years ago

UrbanSide commented 3 years ago

Hi, I'm catching an error like this:

[01:43:34] [DiscordLink] Static configuration verification completed without errors
[01:43:34] [DiscordLink] Unverified channels detected:
Eco-Server - общий <--> General
Eco-Server - server-info
EcoDiscordServer - trades
EcoDiscordServer - crafting
EcoDiscordServer - snippets
ECO - server-info
Eco-Server - server-info

[01:45:30] [DiscordLink] ERROR: Failed to forward Eco message from user Arronax as no guild with the name or ID Eco-Server exists
[01:45:40] [DiscordLink] ERROR: Failed to forward Eco message from user Аднегел as no guild with the name or ID Eco-Server exists

My config file:

{
  "BotToken": "TOKEN",
  "EcoBotName": "ECO Бот",
  "DiscordCommandPrefix": "?",
  "AdminRoles": [
    "admin",
    "administrator",
    "moderator",
    "admin",
    "administrator",
    "moderator",
    "Администрация",
    "Модераторы"
  ],
  "ServerName": "<color=green>Smoll</color>.net",
  "ServerDescription": "<b><color=green>Новый сервер!</color></b> <color=yellow>Огромный мир!</color> <color=blue>Стабильная работа!</color>",
  "ServerLogo": "https://github.com/Eco-DiscordLink/EcoDiscordPlugin/blob/develop/images/DiscordLinkLogo_Nameless.png",
  "ServerAddress": "XXX",
  "ChatChannelLinks": [
    {
      "AllowUserMentions": true,
      "AllowRoleMentions": true,
      "AllowChannelMentions": true,
      "Direction": "Duplex",
      "HereAndEveryoneMentionPermission": "Forbidden",
      "EcoChannel": "General",
      "DiscordGuild": "Eco-Server",
      "DiscordChannel": "общий"
    }
  ],
  "TradeChannels": [
    {
      "DiscordGuild": "EcoDiscordServer",
      "DiscordChannel": "trades"
    }
  ],
  "CraftingChannels": [
    {
      "DiscordGuild": "EcoDiscordServer",
      "DiscordChannel": "crafting"
    }
  ],
  "ServerInfoChannels": [
    {
      "UseName": true,
      "UseDescription": false,
      "UseLogo": true,
      "UseConnectionInfo": true,
      "UsePlayerCount": true,
      "UsePlayerList": true,
      "UsePlayerListLoggedInTime": true,
      "UseCurrentTime": true,
      "UseTimeRemaining": true,
      "UseMeteorHasHit": false,
      "UseElectionCount": false,
      "UseElectionList": true,
      "UseLawCount": false,
      "UseLawList": true,
      "DiscordGuild": "Eco-Server",
      "DiscordChannel": "server-info"
    }
  ],
  "WorkPartyChannels": [],
  "PlayerListChannels": [
    {
      "UsePlayerCount": true,
      "UseLoggedInTime": true,
      "DiscordGuild": "Eco-Server",
      "DiscordChannel": "server-info"
    }
  ],
  "ElectionChannels": [],
  "CurrencyChannels": [],
  "SnippetChannels": [
    {
      "DiscordGuild": "EcoDiscordServer",
      "DiscordChannel": "snippets"
    }
  ],
  "DiscordCommandChannels": [
    {
      "DiscordGuild": "ECO",
      "DiscordChannel": "server-info"
    }
  ],
  "MaxTrackedTradesPerUser": 5,
  "LogLevel": "Information",
  "BackendLogLevel": "Error",
  "LogChat": false,
  "ChatlogPath": "C:\\Games\\Eco\\Eco_Data\\Server\\Configs\\Mods\\DiscordLink\\Chatlog.txt",
  "EcoCommandOutputChannel": "server-info",
  "InviteMessage": "Join us on Discord!\n[LINK]"
}

Messages from the discord chat go to the game, from the game to the discord no In Discrod i have: image But since players see discord messages, I understand that the channel is definitely working

MonzUn commented 3 years ago

What version are you running?