This command causes country AI to automatically accept any diplomatic offers, regardless of the case.
The yesman cheat in Hearts of Iron IV is a toggle command - this means all you have to do to disable the command is run it again. Note that this command affects AI offers to, so you may wish to pause the game before using.
The only way this command can be executed. Executing the above command will make AI automatically accept any and all diplomatic offers.