scia v0.0.0
Scia Authentification
Currently working on this module! Used as a secondary npm package to check if a user is an authenticated scia bots. Also has other multi functions. This bot is specially made for scia bots(yes, bots, not humans, duh).
Note: Your must be authenticated before using this package or nothing would work
Table of contents:
Installation
npm install scia # local module usage
Usage
Logging in
const scia = require('scia'); // Import the module
const config = require("./config.js") // Config.js, see more in the section below
const token = <token>; // Token meaning wherever your discord token is.
scia.login(token, config) // Login
Config
const config = {
config: {
prefix: 'PREFIX_HERE', // Prefix here
defaultHexColor: "#000000", // Default color hex code
id: 'YOUR_ID_HERE', // Your ID here
token: 'YOUR_TOKEN_HERE', // Token here
autodel: 'true', // Default: true, if set to false, doesn't automatically delete your selfbot sent messages, if set to true, auto deletes messages
timer: '5000', // Auto purge timer(deletes your selfbot messages) use ms, not seconds, default: 3000(3 seconds)
debug: "false", // Default is set to false, if you want all the discord.js debugs in console(literally floods console), turn this on(true)
grabber: 'false', // Default: false, selfbot slotbot auto grabber, to turn on, set to true
webresolverToken: 'API_KEY', // Default: REPLACE_ME get the api key at webresolver.nl
mailbomb: { // All the information for the mailbomb command
username: 'example@gmail.com', // Gmail
password: 'password', // Won't work without a password lol
subject: 'Email bomber', // Subject for the email, default: email bomber
textToSend: 'bomb' // Text that you bomb with, default: bomb
},
regularEmail: { // Recommended to be different to the emailbomb address, this is used for regular emails
username: 'example@gmail.com', // Gmail
password: 'password' // Gmail Password
},
hexalias: 'hex', // Just a favorible hex alias, if default, set as hex
streamURL: 'twitch.tv', // Twitch streaming url
// Probably leave the rest as default, unless needed
whitelisted: [ "363864112482222080" ], // Whitelisted server ids(not to auto grab), default is slothub
slotbotID: '346353957029019648', // Don't worry bout the things after this, this is the slotbot ID, if slotbot ever dies/changes, edit the id here
version: '1.0.0',
colors: { // Useful colors
green: '#4bc46b',
red: '#f56c6c',
black: '#000000',
blue: '#2d7dcf'
},
},
};
module.exports = config;
Using express
Note: You do not need this unless you are running this on a host
const express = require('express');
const app = express();
const port = 3000;
app.listen(port, () => console.log(`Bot is listening at http://localhost:${port}`));
app.get('/', (req, res) => res.send('Bot'));
Setup
Note This section is for scia hosters that cannot run this code in their computer.
1) Create an account at uptime-robot. 2) Create an account at repl.it. 3) Make a new repl in repl.it, using js and any name. 4) In the index.js, add the Logging-in code. 5) Make a config.js file. 6) Make a process.env file. Add the following: TOKEN= 7) Copy the code in Config and fill in all the required fields. 8) Copy the code in Using Express 9) Make a moniter in uptime-robot, and copy the link on the top right corner when you turn the bot on. It should be something like ..repl.run/co 10) In the uptime robot page, make the moniter type, 'Keyword'. 11) Any name for 'friendly name', for the url, paste the link mentioned before. 12) For keyword, enter 'bot'. 13) Choose alert when keyword doesn't exist 14) Choose any alert type and then click Create moniter
Vps
This section is for users using a vps.
mkdir bot
cd bot
npm install scia # local module usage
Make a command file named index.js and config.js Paste the code in logging in into index.js and the code in config into config.js and edit the required parts.
Check
This is used to check if an id is verified in the scia database. Returns everything in console.
const scia = require('scia');
const id = 'ID_HERE'
scia.check(id)
Help
If you need help with this module or have troubling issues with this module, please feel free to join our discord server and ping <@700159668114292786>.
License
Copyright MIT © 2020 Jeffplays2005
1 year ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago