Wrong API key issue so bot doesn't work

Hello,

I created a bot for DIscord Roles in my developer portal for Discord. I add the bot ket to my config for Discord Roles. I restart the mod but it keeps saying my API key is wrogn in my console. I can verify 100% that my API key in my developer portal is correct but it is saying it is wrong. I tried resetting the key, it still says my API key is wrong. I even made a new bot in my Discord portal. It says that API key is wrong too. Every API key, even though it is 100% the correct key, says my API key is wrong. I updated Steam, Oxide, and Discord Extension. I have 0 idea what more I can do to get this mod working. Please help https://gyazo.com/48bcd0244ce9e4c5bec84610355418ef

But the mod isn't working for me. People are not getting their roles added in Discord.

There would be another reason for that then. In your picture, it says that Discord Roles is ready so that warning is not an issue. Can you share your config and remove the bot token? How are you wanting the sync to work? What plugin are you using for the Discord Link information IE (DiscordCore / DiscordAuth).

Hello MJSU,

I want players to get in Discord ranks I set up with the proper role ids I placed in the discord roles config. It keeps adding only 1 person in a role. I have no idea who that person is. I should personally be getting "Pro" rank in discord if the bot is wroking properly. But me and other players with in game play time are not getting auto ranked the roles based off our in server play time in discord.. Here is my config:

{
  "Discord Bot Token": "MY DISCORD ROLES BOT API FROM DISCORD DEVELOPER IS HERE",
  "Discord Server ID (Optional if bot only in 1 guild)": "",
  "Sync Nicknames": false,
  "Sync Clan Tag": false,
  "Update Rate (Seconds)": 2.0,
  "Use AntiSpam On Discord Nickname": false,
  "Action To Perform By Event": {
    "Events To Sync Server Groups -> Discord Roles": {
      "Sync On Plugin Load": true,
      "Sync On Player Connected": true,
      "Sync On Server Group Changed": true,
      "Sync On Discord Role Changed": true,
      "Sync On Discord Nickname Changed": false,
      "Sync On Player Linked / Unlinked": true,
      "Sync On User Join / Leave Discord Server": true
    },
    "Events To Sync Discord Roles -> Server Groups": {
      "Sync On Plugin Load": true,
      "Sync On Player Connected": true,
      "Sync On Server Group Changed": true,
      "Sync On Discord Role Changed": true,
      "Sync On Discord Nickname Changed": false,
      "Sync On Player Linked / Unlinked": true,
      "Sync On User Join / Leave Discord Server": true
    },
    "Events To Sync Discord Nickname": {
      "Sync On Plugin Load": true,
      "Sync On Player Connected": true,
      "Sync On Server Group Changed": true,
      "Sync On Discord Role Changed": true,
      "Sync On Discord Nickname Changed": true,
      "Sync On Player Linked / Unlinked": true,
      "Sync On User Join / Leave Discord Server": false
    }
  },
  "Sync Data": [
    {
      "Server Group": "Novice",
      "Discord Role ID": "989139548577599488",
      "Sync Source (Server or Discord)": "Server",
      "Sync Notification Settings": {
        "Send message to Server": false,
        "Send Message To Discord": false,
        "Discord Message Channel ID": "",
        "Send Message When Added": false,
        "Send Message When Removed": false,
        "Server Message Added Override Message": "",
        "Server Message Removed Override Message": "",
        "Discord Message Added Override Message": "",
        "Discord Message Removed Override Message": ""
      }
    },
    {
      "Server Group": "Regular",
      "Discord Role ID": "989140534553632829",
      "Sync Source (Server or Discord)": "Server",
      "Sync Notification Settings": {
        "Send message to Server": false,
        "Send Message To Discord": false,
        "Discord Message Channel ID": "",
        "Send Message When Added": false,
        "Send Message When Removed": false,
        "Server Message Added Override Message": "",
        "Server Message Removed Override Message": "",
        "Discord Message Added Override Message": "",
        "Discord Message Removed Override Message": ""
      }
    },
    {
      "Server Group": "Pro",
      "Discord Role ID": "989141111329144842",
      "Sync Source (Server or Discord)": "Server",
      "Sync Notification Settings": {
        "Send message to Server": false,
        "Send Message To Discord": false,
        "Discord Message Channel ID": "",
        "Send Message When Added": false,
        "Send Message When Removed": false,
        "Server Message Added Override Message": "",
        "Server Message Removed Override Message": "",
        "Discord Message Added Override Message": "",
        "Discord Message Removed Override Message": ""
      }
    },
    {
      "Server Group": "Nerd",
      "Discord Role ID": "989141677371441173",
      "Sync Source (Server or Discord)": "Server",
      "Sync Notification Settings": {
        "Send message to Server": false,
        "Send Message To Discord": false,
        "Discord Message Channel ID": "",
        "Send Message When Added": false,
        "Send Message When Removed": false,
        "Server Message Added Override Message": "",
        "Server Message Removed Override Message": "",
        "Discord Message Added Override Message": "",
        "Discord Message Removed Override Message": ""
      }
    },
    {
      "Server Group": "Slayer",
      "Discord Role ID": "989142200455663697",
      "Sync Source (Server or Discord)": "Server",
      "Sync Notification Settings": {
        "Send message to Server": false,
        "Send Message To Discord": false,
        "Discord Message Channel ID": "",
        "Send Message When Added": false,
        "Send Message When Removed": false,
        "Server Message Added Override Message": "",
        "Server Message Removed Override Message": "",
        "Discord Message Added Override Message": "",
        "Discord Message Removed Override Message": ""
      }
    },
    {
      "Server Group": "Novice",
      "Discord Role ID": "989139548577599488",
      "Sync Source (Server or Discord)": "Server",
      "Sync Notification Settings": {
        "Send message to Server": false,
        "Send Message To Discord": false,
        "Discord Message Channel ID": "",
        "Send Message When Added": false,
        "Send Message When Removed": false,
        "Server Message Added Override Message": "",
        "Server Message Removed Override Message": "",
        "Discord Message Added Override Message": "",
        "Discord Message Removed Override Message": ""
      }
    },
    {
      "Server Group": "Regular",
      "Discord Role ID": "989140534553632829",
      "Sync Source (Server or Discord)": "Server",
      "Sync Notification Settings": {
        "Send message to Server": false,
        "Send Message To Discord": false,
        "Discord Message Channel ID": "",
        "Send Message When Added": false,
        "Send Message When Removed": false,
        "Server Message Added Override Message": "",
        "Server Message Removed Override Message": "",
        "Discord Message Added Override Message": "",
        "Discord Message Removed Override Message": ""
      }
    },
    {
      "Server Group": "Pro",
      "Discord Role ID": "989141111329144842",
      "Sync Source (Server or Discord)": "Server",
      "Sync Notification Settings": {
        "Send message to Server": false,
        "Send Message To Discord": false,
        "Discord Message Channel ID": "",
        "Send Message When Added": false,
        "Send Message When Removed": false,
        "Server Message Added Override Message": "",
        "Server Message Removed Override Message": "",
        "Discord Message Added Override Message": "",
        "Discord Message Removed Override Message": ""
      }
    },
    {
      "Server Group": "Nerd",
      "Discord Role ID": "989141677371441173",
      "Sync Source (Server or Discord)": "Server",
      "Sync Notification Settings": {
        "Send message to Server": false,
        "Send Message To Discord": false,
        "Discord Message Channel ID": "",
        "Send Message When Added": false,
        "Send Message When Removed": false,
        "Server Message Added Override Message": "",
        "Server Message Removed Override Message": "",
        "Discord Message Added Override Message": "",
        "Discord Message Removed Override Message": ""
      }
    },
    {
      "Server Group": "Slayer",
      "Discord Role ID": "989142200455663697",
      "Sync Source (Server or Discord)": "Server",
      "Sync Notification Settings": {
        "Send message to Server": false,
        "Send Message To Discord": false,
        "Discord Message Channel ID": "",
        "Send Message When Added": false,
        "Send Message When Removed": false,
        "Server Message Added Override Message": "",
        "Server Message Removed Override Message": "",
        "Discord Message Added Override Message": "",
        "Discord Message Removed Override Message": ""
      }
    }
  ],
  "Plugin Log Level (None, Error, Warning, Info)": "Warning",
  "Discord Extension Log Level (Verbose, Debug, Info, Warning, Error, Exception, Off)": "Info"
}

So all of that looks good. What plugin are you using to link players between discord and the server?

Hello <3

Sorry for the late reply. I am in a weird time zone.

I am using Discord Core.

So each person you're trying to sync has linked their accounts using Discord Core? You can check the DiscordCore.json data file to see if they have been saved there.

Hello,
I check in oxide/config/discordcore.json and oxide/data/discordcore.json. I am not seeing anyththing about a list of player who are registered. I did /verify so I should be in there. Am I missing the location where the linked player ids are? I don't see it.

/verify looks as if it belongs to Discord Linker or Discord Rewards plugin? If so those plugins aren't compatible with Discord Roles.

In the config can you set the "Plugin Log Level (None, Error, Warning, Info)" To "Info" and reload the plugin. It will output a lot of text just upload it here.

Hi,

You said "In the config can you set the "Plugin Log Level (None, Error, Warning, Info)" To "Info" and reload the plugin. It will output a lot of text just upload it here."

Do I do this in the Discord Configuration? Also, what am I uploading in there?

In the DiscordRoles config is where you want to change it. There will be output to the server console. That is what I need to see.

Thank you.

It keeps only syncing 1 person. I have no idea who that person is.

Here is my console messages https://gyazo.com/77e4a9a0e80faeaaea831ab77984ce60



Merged post

I change: "Plugin Log Level (None, Error, Warning, Info)": "Warning", to "Info":"Warning" then reload the plugin. It keeps resetting my changes back to: "Plugin Log Level (None, Error, Warning, Info)": "Warning", After I reload the Discord Roles plugin. How can I make it stop resetting my changes?

Do I need to change: "Plugin Log Level (None, Error, Warning, Info)": "Warning", to-> "Info"

or

"Plugin Log Level (None, Error, Warning, Info)": "Warning", to-> "Info": "Warning",