It is widely known that Beauregard ordered the attack on his own hook. Even Wikipedia gets it right:
“Pierre Gustave Toutant-Beauregard was an American military officer known for being the Confederate general who started the American Civil War at the battle of Fort Sumter on April 12, 1861.”
He was not relieved of his command, and continued in service through the end of the war between the states (civil war).
https://64parishes.org/entry/p-g-t-beauregard-adaptation
That source is wrong. He was not sent there to party, certainly, but he was not ordered by the Confederate government to fire on Ft. Sumter. The Confederacy at the time had sent reps to Lincoln to talk peace. Lincoln loved the attack. He got his war.