Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 2a0862f

Browse files
committed
chore: start working on deploy script
1 parent 0ac1473 commit 2a0862f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/deploy.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1+
import { REST } from "discord.js";
2+
import * as toml from "toml";
3+
import fs from "fs";
14

25

36
class SlashCommands {
4-
7+
environment;
8+
REST: REST = new REST();
9+
10+
constructor() {
11+
const toml_file = fs.readFileSync('config.toml', 'utf8').toString();
12+
this.environment = toml.parse(toml_file);
13+
}
14+
15+
commands = {
16+
17+
}
518
}

0 commit comments

Comments
 (0)