commit | 4edb7761f6b374d56698209ddd422f4fe3b836bc | [log] [tgz] |
---|---|---|
author | pineafan <pineapplefanyt@gmail.com> | Sun Jun 26 19:21:04 2022 +0100 |
committer | pineafan <pineapplefanyt@gmail.com> | Sun Jun 26 19:21:04 2022 +0100 |
tree | b5eef091025a8aaf55964303dc0c3363f867a112 | |
parent | 381ef90902b75ebc454a595a37aca3b5310b4bfa [diff] [blame] |
huge changes once again
diff --git a/src/automations/welcome.ts b/src/automations/welcome.ts index 11c4844..5b80fbd 100644 --- a/src/automations/welcome.ts +++ b/src/automations/welcome.ts
@@ -4,7 +4,7 @@ export async function callback(_, member) { if (member.bot) return - let config = await client.database.read(member.guild.id); + let config = await client.database.guilds.read(member.guild.id); if (!config.welcome.enabled) return if (!config.welcome.verificationRequired.role) {