feat: initial commit
This commit is contained in:
commit
c4514cd4c4
19 changed files with 4403 additions and 0 deletions
9
src/discord/client.ts
Normal file
9
src/discord/client.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { Client } from 'discord.js-selfbot-v13'
|
||||
import env from '../env.js'
|
||||
|
||||
export const discord = new Client()
|
||||
|
||||
export async function startDiscord(): Promise<void> {
|
||||
await discord.login(env.discordToken)
|
||||
console.log(`Discord logged in as ${discord.user?.tag}`)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue