Get basic member list working in offload

This commit is contained in:
Rory&
2026-06-21 20:41:01 +02:00
parent 387cea129d
commit 3d07e05fd0
4 changed files with 143 additions and 73 deletions
-40
View File
@@ -1,40 +0,0 @@
// /*
// Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
// Copyright (C) 2026 Spacebar and Spacebar Contributors
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
// */
//
// process.on("uncaughtException", console.error);
// process.on("unhandledRejection", console.error);
//
// import moduleAlias from "module-alias";
// moduleAlias(__dirname + "../../package.json");
// import { config } from "dotenv";
// config({ quiet: true });
//
// // process.env.DB_LOGGING = "true";
//
// import { closeDatabase, initDatabase } from "@spacebar/database";
// import { buildFullMemberlistSequential } from "@spacebar/gateway/opcodes/LazyRequest";
//
// async function main() {
// await initDatabase();
//
// await buildFullMemberlistSequential("1006649183970562092");
//
// await closeDatabase();
// }
//
// main().then(() => console.log("meow"));