Compare commits
2 Commits
fcbe25687f
...
6f7f3df001
Author | SHA1 | Date | |
---|---|---|---|
6f7f3df001 | |||
050d927908 |
@ -1,4 +1,4 @@
|
|||||||
FROM node:16
|
FROM node:18
|
||||||
RUN mkdir -p /usr/src/app
|
RUN mkdir -p /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
9
main.js
9
main.js
@ -7,15 +7,8 @@ const token = process.env.TOKEN;
|
|||||||
const statusChannelId = process.env.statusChannelId;
|
const statusChannelId = process.env.statusChannelId;
|
||||||
|
|
||||||
// Discord.JS
|
// Discord.JS
|
||||||
const { Client, Intents } = require('discord.js-selfbot-v13');
|
const { Client } = require('discord.js-selfbot-v13');
|
||||||
const client = new Client({
|
const client = new Client({
|
||||||
intents: [
|
|
||||||
'GUILDS',
|
|
||||||
'GUILD_MESSAGES',
|
|
||||||
'GUILD_MESSAGE_REACTIONS',
|
|
||||||
'DIRECT_MESSAGES',
|
|
||||||
'DIRECT_MESSAGE_REACTIONS',
|
|
||||||
],
|
|
||||||
partials: [
|
partials: [
|
||||||
'CHANNEL',
|
'CHANNEL',
|
||||||
'MESSAGE',
|
'MESSAGE',
|
||||||
|
@ -9,13 +9,14 @@
|
|||||||
"axios": "^0.21.4",
|
"axios": "^0.21.4",
|
||||||
"discord-api-types": "^0.22.0",
|
"discord-api-types": "^0.22.0",
|
||||||
"discord.js": "^13.15.1",
|
"discord.js": "^13.15.1",
|
||||||
|
"discord.js-selfbot-v13": "^2.14.0",
|
||||||
"dotenv": "^10.0.0",
|
"dotenv": "^10.0.0",
|
||||||
"fuzzy-search": "^3.2.1",
|
"fuzzy-search": "^3.2.1",
|
||||||
"mysql": "^2.18.1",
|
"mysql": "^2.18.1",
|
||||||
"tenorjs": "^1.0.10"
|
"tenorjs": "^1.0.10"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "16.x"
|
"node": "18.x"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^7.32.0"
|
"eslint": "^7.32.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user