the power that governs bonus spells is dependent upon what sort of spellcaster your character is: Intelligence for wizards; knowledge for clerics, druids, paladins, and rangers; or Charisma for sorcerers and bards.
D6 https://cormacecky959563.onesmablog.com/rumored-buzz-on-dnd-dice-set-72821084