mirror of
https://github.com/arthur-pbty/selfbot-discord.git
synced 2026-06-03 15:07:35 +02:00
update
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { Message, Client } from 'discord.js';
|
||||
const os = require('os');
|
||||
|
||||
module.exports = {
|
||||
aliases: [],
|
||||
description: 'Montre ton hostename dans la console',
|
||||
emote: '⏱️',
|
||||
utilisation: '',
|
||||
|
||||
async execute(message: Message, args: string[], client: Client) {
|
||||
message.delete();
|
||||
const hostname = os.hostname();
|
||||
console.log(`Le hostname est : ${hostname}`);
|
||||
|
||||
message.channel.send(`Le hostname a été affiché dans la console.`);
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
import { Message, Client } from 'discord.js';
|
||||
const ip = require('ip');
|
||||
|
||||
module.exports = {
|
||||
aliases: [],
|
||||
description: 'Montre ton ip dans la console',
|
||||
emote: '⏱️',
|
||||
utilisation: '',
|
||||
|
||||
async execute(message: Message, args: string[], client: Client) {
|
||||
message.delete();
|
||||
const ipAddress = ip.address();
|
||||
console.log(`L'adresse IP est : ${ipAddress}`);
|
||||
|
||||
message.channel.send(`L'adresse IP a été affichée dans la console.`);
|
||||
}
|
||||
};
|
||||
Generated
+6
@@ -13,6 +13,7 @@
|
||||
"discord.js": "^14.14.1",
|
||||
"discord.js-selfbot-v13": "^3.1.4",
|
||||
"dotenv": "^16.4.5",
|
||||
"ip": "^2.0.1",
|
||||
"sqlite3": "^5.1.7"
|
||||
}
|
||||
},
|
||||
@@ -931,6 +932,11 @@
|
||||
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
|
||||
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
|
||||
},
|
||||
"node_modules/ip": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/ip/-/ip-2.0.1.tgz",
|
||||
"integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ=="
|
||||
},
|
||||
"node_modules/ip-address": {
|
||||
"version": "9.0.5",
|
||||
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz",
|
||||
|
||||
@@ -17,9 +17,11 @@
|
||||
},
|
||||
"homepage": "https://github.com/Tutur33/selfbot-discord#readme",
|
||||
"dependencies": {
|
||||
"@discordjs/voice": "^0.16.1",
|
||||
"discord.js": "^14.14.1",
|
||||
"discord.js-selfbot-v13": "^3.1.4",
|
||||
"dotenv": "^16.4.5",
|
||||
"ip": "^2.0.1",
|
||||
"sqlite3": "^5.1.7"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user