New version dont sent message to server.Fixed

I was following along on GitHub and tested all the plugins. When I tested this specific plugin, all the messages I sent from Discord to the server were deleted as soon as I sent them in the Discord channel. I thought this would be something fixed in the release, but I just tested it again, and after setting everything up, all the messages sent in the Discord channel are deleted as soon as I press enter, and nothing gets sent to the server. However, the communication from the server to Discord is working fine. What could be causing this? I'm using the same config as the previous version and there was no such issue.

{
  "Discord Bot Token": "ODQ1OTMzMzcyNj11MTE1MzY4.XkX3lb.eruBrPwXWpiivTZtKn_Uw1WW4wFAAOV3hkhQdg", (example)
  "Discord Server ID (Optional if bot only in 1 guild)": "",
  "Enable Adding Discord Tag To In Game Messages When Sent From Discord": true,
  "Channel Settings": {
    "Chat Channel ID": "1283611861777223733", (example)
    "Team Channel ID": "",
    "Cards Channel ID": "",
    "Join / Leave Channel ID": "",
    "Server Online / Offline Channel ID": "1283611861777223733" (example)
  },
  "Message Settings": {
    "Replace Discord User Message With Bot Message": true,
    "Send Messages From Server Chat To Discord Channel": true,
    "Send Messages From Discord Channel To Server Chat": true,
    "Allow plugins to process Discord to Server Chat Messages": true,
    "Discord Message Server Time Offset (Hours)": 0.0,
    "Text Replacements": {
      "TextToBeReplaced": "ReplacedText"
    },
    "Unlinked Settings": {
      "Allow Unlinked Players To Chat With Server": true,
      "Steam Icon ID": 76561199144296099
    },
    "Message Filter Settings": {
      "Ignore messages from users in this list (Discord ID)": [],
      "Ignore messages from users in this role (Role ID)": [],
      "Ignored Prefixes": []
    }
  },
  "Plugin Support": {
    "AdminChat Settings": {
      "Enable AdminChat Plugin Support": false,
      "Chat Channel ID": "",
      "Chat Prefix": "@",
      "Replace Discord Message With Bot": true
    },
    "AntiSpam Settings": {
      "Use AntiSpam On Player Names": false,
      "Use AntiSpam On Server Messages": false,
      "Use AntiSpam On Chat Messages": false,
      "Use AntiSpam On Team Messages": false,
      "Use AntiSpam On Card Messages": false
    },
    "BetterChatMute Settings": {
      "Ignore Muted Players": true
    },
    "ChatTranslator Settings": {
      "Enable Chat Translator": false,
      "Use ChatTranslator On Server Messages": false,
      "Use ChatTranslator On Chat Messages": false,
      "Use ChatTranslator On Team Messages": false,
      "Use ChatTranslator On Card Messages": false,
      "Discord Server Chat Language": "en"
    },
    "Clan Settings": {
      "Display Clan Tag": false
    },
    "UFilter Settings": {
      "Use UFilter On Player Names": false,
      "Use UFilter On Server Messages": false,
      "Use UFilter On Discord Messages": false,
      "Use UFilter On Team Messages": false,
      "Use UFilter On Card Messages": false
    }
  },
  "Discord Extension Log Level (Verbose, Debug, Info, Warning, Error, Exception, Off)": "Info"
}

Β 

Oi code, estou com o mesmo problema. Me pergunto se renovar o token pode resolver. Voce tentou?

I suggest upgrading to the new 3.0 rewrite version which was just pushed. Should resolve any issues.

Hi MJSU, first i noticed the updated plugins dont work, so i found out Extension has an updated, so i update the extension and all plugins load properly.

but still the chat doesn't work, i reset the token, the bot load, show up, count players and entities, can see ingame messages and players disconnect, but message from discord to server does not work

Is this still happening on the DiscordChat 3.0.0 which was pushed an hour ago?

MJSU

I suggest upgrading to the new 3.0 rewrite version which was just pushed. Should resolve any issues.

After using the new version that was updated today, no messages are sent from discord to the server or from the server to discord, the messages now stay in the discord channel but no communication is made between either side.

Discord Extension: 3.0
Plugin version: 3.0.0

I had already tested this plugin (v3) in the past using the github version and this same problem already existed but I thought it would be fixed in the release.

If you test it you will find the same problem that I am reporting.

Β 

Can you add me on Discord "MJSU". Need to debug to see what's going on. I've been running this version for over a year now and I don't have this issue. This is the first time it's been reported and wasn't reported as an issue during the beta testing.

Same here.

Had to put it back the old one to make it work again.

The issue reported here has been fixed in version 3.0.1.

(18:43:47) | Error while compiling DiscordChat: The type or namespace name 'Cache' does not exist in the namespace 'Oxide.Ext.Discord' (are you missing an assembly reference?) | Line: 8, Pos: 25

(18:43:47) | Error while compiling DiscordCore: The type or namespace name 'Cache' does not exist in the namespace 'Oxide.Ext.Discord' (are you missing an assembly reference?) | Line: 8, Pos: 25

(18:43:47) | Error while compiling DiscordPlayers: The type or namespace name 'Cache' does not exist in the namespace 'Oxide.Ext.Discord' (are you missing an assembly reference?) | Line: 8, Pos: 25

This error come up with the latest versions.

Did you install the latest Discord Extension and restart the server before updating?

It's a rented Server, and I don't have access for these.

Will ask the server provider, to do that for me.

Thanks.



Merged post

Still not working, alongside with Chat.

Merged post

Tried to put the old one back, and now this comes up in the console:

(10:07:15) | Error while compiling DiscordPlayers: The type or namespace name 'MessageComponents' does not exist in the namespace 'Oxide.Ext.Discord.Builders' (are you missing an assembly reference?) | Line: 14, Pos: 34

(10:09:35) | Error while compiling DiscordChat: The type or namespace name 'Applications' does not exist in the namespace 'Oxide.Ext.Discord.Entities' (are you missing an assembly reference?) | Line: 17, Pos: 34

Basicly, this update ruined my working plugins.Β 

New & old one doesn't work.

Good afternoon. I'm also getting this same error:

" Error while compiling DiscordChat: The type or namespace name 'Cache' does not exist in the namespace 'Oxide.Ext.Discord' (are you missing an assembly reference?) | Line: 8, Pos: 25"

3PaUMyyKjx4ZJlN.PNG ReiNasc

Good afternoon. I'm also getting this same error:

" Error while compiling DiscordChat: The type or namespace name 'Cache' does not exist in the namespace 'Oxide.Ext.Discord' (are you missing an assembly reference?) | Line: 8, Pos: 25"

Hi,

If it's hosted server - like mine, you need to update first the DiscordAPI.

Once it's done, remove from the Oxide / Config folder the DiscordChat.json ( save it on your PC as backup ).
Then once you removed / deleted from the Config folder the DiscordChat.json - reload from the console the DiscordChat.cs.

Once it's reloaded, it's gonna create a new Oxide/Config/DiscordChat.json.

Open with editor the new DiscordChat.json, and copy & paste from the BACKUP DiscordChat.json - Discord Bot Token.

Save the new DiscordChat.json, copy to the server Oxide/Config folder, then restart the server.

Job done.



Merged post

I wish it's done, but after doing the above mentioned, no Connections norΒ  Chat notifications at all.πŸ˜”

Show, tks...

Locked automatically