I have a discord bot written in javascript using autocode. When a user joins my discord server, my bot updates my airtable table called discord. I have another table linked to the discord table, called defense. The defense uses the discord fields of ID, User ID, Username, and Role from the Discord table. The defense table has some other fields which the user should be able to update later.
How do I get the Defense table to update with the new users when they join the server? Right now, I insert a record into the Discord table with the user info. But even though the two tables are linked together, the Defense table is not updating with the new users info.