New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Just connect with a database
Save a simple flag to default = false
Then before it runs commands script, check the database
Example of database:
CREATE TABLE block(
Chat_ID varchar(10) PRIMARY KEY,
Block bit NOT NULL DEFAULT 0
);