Renamed server.js to guild.js
This commit is contained in:
17
src/database/guild.js
Normal file
17
src/database/guild.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import Sequelize from 'sequelize';
|
||||
|
||||
import {BaseDatabase} from './baseDatabase';
|
||||
import {Logger} from '../logger';
|
||||
|
||||
export class GuildTools extends BaseDatabase {
|
||||
static async newGuild(id, serverName) {
|
||||
const Guild = super.Guild;
|
||||
|
||||
try {
|
||||
|
||||
} catch (e) {
|
||||
Logger.error(`An error occured inserting guild id: ${id}`);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user