https://www.sageadvice.eu/do-the-cantrips-from-pact-of-the-tome-become-warlock-spells-and-be-based-of-cha-2/
Do the cantrips from Pact of the Tome become Warlock spells and be based of CHA?