Fix renamed method.
This commit is contained in:
@@ -2,7 +2,7 @@ import { Database } from '../shared/Database';
|
|||||||
|
|
||||||
export async function handleGuildCreate(guild) {
|
export async function handleGuildCreate(guild) {
|
||||||
try {
|
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) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user