Fix renamed method.
This commit is contained in:
@@ -2,7 +2,7 @@ import { Database } from '../shared/Database';
|
||||
|
||||
export async function handleGuildCreate(guild) {
|
||||
try {
|
||||
if (!await Database.getGuildSettings(guild.id)) await Database.addGuild(guild.id);
|
||||
if (!await Database.getGuildSettings(guild.id)) await Database.putGuild(guild.id);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user