slack text substitution mac does not work

C++
# 	in Terminal execute
defaults write com.tinyspeck.slackmacgap WebAutomaticTextReplacementEnabled -bool true
Source

Also in C++: