I am trying to make it so that staff on my server receive the staff role in-game when connecting. I have connected the Discord API with Discord, added the groups in qb-core/config, and in the cfg. When someone connects, it says that the player gets staff permissions, but in-game, they can't use them.
Have I done something wrong with my code?