Matter of fact, let me add another piece to this:Remember when Celestia and Luna ‘banished’ Sombra from the Empire?Given there was no evidence of the elements’ use, I’m guessing this is the same spell.
Find it hilarious that she could banish Discord without the Elements of Harmony.