How can I use sqlite3 on replit?On_meber_join event

Question: I have a discord bot. My discord bot is using sqlite3. It has a command that takes the server id and its welcome channel. On on_member_join event it takes the id of server and finds the correct welcome channel from the table. It is working perfectly on my own computer. But in replit when I use the /activate_join_messages command it works and takes the id and welcome channel of server. But on_member_join event is not working. Can you help me?

Repl link: MyDCbot
is there any error in the Console?