sphinx.djs 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,8 @@
1
1
 
2
- import wait from "node:timers/promises";
3
-
4
- import events from "events";
2
+ const wait = require("node:timers/promises").setTimeout;
3
+ const events = require("events");
5
4
  const emitter = new events.EventEmitter();
6
- export class botAccount {
5
+ class botAccount {
7
6
  constructor(client, discord) {
8
7
  this.Discord = discord;
9
8
  this.client = client;
@@ -116,4 +116,4 @@ const {codeBlock} = require("@discordjs/builders");
116
116
  }
117
117
  }
118
118
 
119
- module.exports = userAccount
119
+ module.exports = {userAccount};
@@ -1,8 +1,8 @@
1
- import axios from "axios";
2
- import event from "events";
1
+ const axios = require('axios');
2
+ const event = require("events");
3
3
  const emitter = new event.EventEmitter();
4
- export default emitter;
5
- export class createBot {
4
+
5
+ class createBot {
6
6
  constructor(token) {
7
7
 
8
8
  this.token = token;
@@ -46,3 +46,4 @@ export class createBot {
46
46
  })
47
47
  }
48
48
  }
49
+ module.exports = {createBot, emitter};
package/inedx.js CHANGED
@@ -1,12 +1,4 @@
1
- // import userAccount from "./BroadCast/userAccount.cjs";
2
-
3
- // import Discord from "discord.js-selfbot-v13"
4
- // const client = new Discord.Client({ intents: 32767, checkUpdate: false})
5
- // new userAccount(client, Discord).leveling({ channel: "1000710976343134292", randomLetters: true});
6
- // client.login("NjQyNTEzMDk1MzMxMTUxOTAz.GCIGSD.l9UVXs1j8gxvtXknq4fLeQaxuCNqkmgkjC2OL4")
7
- import nah, { createBot } from './Utils/createBot.js';
8
-
9
- new createBot('NjQyNTEzMDk1MzMxMTUxOTAz.GCIGSD.l9UVXs1j8gxvtXknq4fLeQaxuCNqkmgkjC2OL4').create("justThisTimePlsWork");
10
- nah.on('GetBotToken', token => {
11
- console.log(token)
12
- })
1
+ const {botAccount} = require('./BroadCast/botAccount');
2
+ const {userAccount} = require("./BroadCast/userAccount");
3
+ const {createBot} = require('./Utils/createBot');
4
+ module.exports = {botAccount, userAccount, createBot};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sphinx.djs",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "This package was made to annoy users in discord, Made it because people kept asking for it.",
5
5
  "main": "inedx.js",
6
6
  "scripts": {
@@ -10,7 +10,6 @@
10
10
  "discord.js",
11
11
  "broadcast"
12
12
  ],
13
- "type": "module",
14
13
  "author": "Sphinx",
15
14
  "license": "ISC",
16
15
  "dependencies": {
package/Utils/music.js DELETED
File without changes