Place it at the very end of a scene, after the last line of dialogue, then follow the exit with the Discord disconnect sound if the joke is someone leaving a call. For a longer farewell sequence, put a door or footsteps effect before it so the departure reads in order.