Swearing blocker id off null

Hello! My swearing blocker has an error ;

id of null; const kufurengel = db.fetch(kufur${msg.guild.id}) how to fix?

Err; id of null…

Hello @Kyoya! It sounds like occasionally the msg.guild object doesn’t have an id. You could check whether that id exists before doing anything with it:

if (msg.guild.id) {
/* your code */`
}

Can You Edit The Code I dont understeand @potch

can you share the name of your project?