Huh, thanks. I thought the process was something like [enter code in-game] → [game outputs a different (numerical?) code] → [use that code in Discord with the command]
This is quite a lot simpler.
I considered that, but I guess that doki user messed me up. Made me think that this method was incorrect.