Are you channeling your best self with this comment? (If you're not sure, check out our Code of Conduct.)
HalfPint is a trusted home cook.
What are you making?
Shallots are in the same family as onions, leeks, and scallions so you can swith any of them in, with a bit of garlic added.
June is a trusted source on General Cooking.
right about now you could also use ramps. ;)
Use a bit of red onion and a touch of garlic and white pepper.
Minced red onion with a bit of garlic is my standby substitution. But then, I always have shallots - I love them!