-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6121fc
commit 6e708ea
Showing
12 changed files
with
3,137 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM node:lts-buster | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
ffmpeg \ | ||
imagemagick \ | ||
webp && \ | ||
apt-get upgrade -y && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY package.json . | ||
|
||
RUN npm install && npm install qrcode-terminal | ||
|
||
COPY . . | ||
|
||
EXPOSE 5000 | ||
|
||
CMD ["node", "index.js", "--server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: node . --server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "Ai Hoshino", | ||
"description": "Simple WhatsApp Bot Multi Device", | ||
"repository": "https://github.com/StarlightsTeam/Ai-Hoshino", | ||
"logo": "https://i.ibb.co/wrnYz0L/file.jpg", | ||
"keywords": ["bot", "whatsapp", "whatsapp-bot", "Hoshino Ai", "Ai Hoshino", "Oshi No Ko"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import { watchFile, unwatchFile } from 'fs' | ||
import chalk from 'chalk' | ||
import { fileURLToPath } from 'url' | ||
import fs from 'fs' | ||
import cheerio from 'cheerio' | ||
import fetch from 'node-fetch' | ||
import axios from 'axios' | ||
import moment from 'moment-timezone' | ||
|
||
//*─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─* | ||
|
||
global.owner = [ | ||
['5218261275256', 'おDanịel.xyz', true], | ||
['5218139760662'], | ||
['5218132588591'], | ||
['5218261009198'], | ||
['5218261000681'] | ||
] | ||
|
||
//*─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─* | ||
|
||
global.mods = [] | ||
global.prems = [] | ||
|
||
//*─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─* | ||
|
||
global.packname = `` | ||
global.author = '{\n "bot": {\n "name": "Ai Hoshino",\n "author": "おDanịel.xyz",\n "status_bot": "active"\n }\n}' | ||
global.wait = '🐢 *Aɢᴜᴀʀᴅᴇ ᴜɴ ᴍᴏᴍᴇɴᴛᴏ, sᴏʏ ʟᴇɴᴛᴀ... ฅ^•ﻌ•^ฅ*' | ||
global.botname = '✯ Ai Hoshino - MD ✰' | ||
global.textbot = `Powered By Starlights Team` | ||
global.listo = '*Aqui tiene ฅ^•ﻌ•^ฅ*' | ||
global.namechannel = '【 ✯ Starlights Team - Oficial Chanel ✰ 】' | ||
|
||
//*─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─* | ||
|
||
global.catalogo = fs.readFileSync('./storage/img/catalogo.png') | ||
global.miniurl = fs.readFileSync('./storage/img/miniurl.jpg') | ||
|
||
//*─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─* | ||
|
||
global.group = 'https://chat.whatsapp.com/DaZrhN5469XDs6lBNmcdOO' | ||
global.canal = 'https://whatsapp.com/channel/0029VaBfsIwGk1FyaqFcK91S' | ||
|
||
//*─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─* | ||
|
||
global.estilo = { key: { fromMe: false, participant: `0@s.whatsapp.net`, ...(false ? { remoteJid: "5219992095479-1625305606@g.us" } : {}) }, message: { orderMessage: { itemCount : -999999, status: 1, surface : 1, message: botname, orderTitle: 'Bang', thumbnail: catalogo, sellerJid: '0@s.whatsapp.net'}}} | ||
|
||
//*─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─* | ||
|
||
global.cheerio = cheerio | ||
global.fs = fs | ||
global.fetch = fetch | ||
global.axios = axios | ||
global.moment = moment | ||
|
||
//*─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─* | ||
|
||
global.multiplier = 69 | ||
global.maxwarn = '2' // máxima advertencias | ||
|
||
//*─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─⭒─ׄ─ׅ─ׄ─* | ||
|
||
let file = fileURLToPath(import.meta.url) | ||
watchFile(file, () => { | ||
unwatchFile(file) | ||
console.log(chalk.redBright("Update 'config.js'")) | ||
import(`${file}?update=${Date.now()}`) | ||
}) |
Oops, something went wrong.