How to use data from an sqlite3 database as the title of my embed?

Basically I’ve got a sqlite3 database with a field that I want to retrieve, store in a variable, and place in a .setTitle() function in an embed.

My issue is that since I’m using sqlite3’s .get() function, I can’t use the variable outside of the function, even if I return it.

Anyone got any tips? Thank you.

Posted Jul 1, 2021, 12:15 AM UTC

34
Loading comments…