diff --git a/packages/gil/lib/adapters/db/PostgresAdapter.ts b/packages/gil/lib/adapters/db/PostgresAdapter.ts index 742f651d..0f839fea 100644 --- a/packages/gil/lib/adapters/db/PostgresAdapter.ts +++ b/packages/gil/lib/adapters/db/PostgresAdapter.ts @@ -18,7 +18,8 @@ export class PostgresAdapter extends DatabaseAdapter { public async getServer(serverId: string): Promise { const [server] = await this.pg` - SELECT * FROM ${this.pg(this.options.serverTable)} WHERE ${this.pg(this.options.serverIdKey)} = ${serverId} + SELECT * FROM ${this.pg(this.options.serverTable)} + WHERE ${this.pg(this.options.serverIdKey)} = ${serverId} `; if (!server) return null; diff --git a/packages/gil/test/index.ts b/packages/gil/test/index.ts deleted file mode 100644 index 6e2fe335..00000000 --- a/packages/gil/test/index.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { join } from "node:path"; -import { config } from "dotenv"; -import { BotClient } from "../lib"; - -config({ path: join(__dirname, "..", ".env") }); - -const bot = new BotClient({ - token: process.env.TOKEN!, - prefix: ".", - sourceFolderPath: __dirname, -}); - -bot.login();