Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi-device + lowdb #102

Open
wants to merge 93 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
8aa3e85
initial
BochilGaming Oct 19, 2021
06eb11d
Fixed some bugs
BochilGaming Nov 4, 2021
bc3de52
Merge branch 'main' into multi-device
BochilGaming Nov 4, 2021
40bf611
Fix: ?
BochilGaming Nov 20, 2021
91dc556
fix some bug
BochilGaming Nov 30, 2021
4b1081e
fix in nodejs <12v
BochilGaming Nov 30, 2021
c2af11d
MultiDevice few bug fix (#146)
bytesWhisperer Dec 6, 2021
fbe24c2
[Multi device] Fix (#158)
bytesWhisperer Dec 27, 2021
0f552db
fix spam in console
BochilGaming Jan 10, 2022
9e0e994
fitur mancing (#62)
ZeroChanBot Jan 20, 2022
b157b86
move to esm
BochilGaming Feb 17, 2022
939451a
Update config.yml
BochilGaming Feb 17, 2022
53b956f
Updated config.yml
BochilGaming Feb 17, 2022
806ced9
Updated config.yml
BochilGaming Feb 17, 2022
000b668
Updated config.yml
BochilGaming Feb 17, 2022
8043940
Updated config.yml
BochilGaming Feb 17, 2022
eb5e25d
Fix? #220
BochilGaming Feb 22, 2022
93a00f1
Fix :v
BochilGaming Feb 22, 2022
70c001d
fix user pp fetch (#225)
DineshValor Feb 23, 2022
27e72f3
Update youtube-play.js (#229)
DineshValor Feb 24, 2022
b1974db
Maybe fix? #227
BochilGaming Feb 25, 2022
a8510d1
updates
BochilGaming Feb 26, 2022
dd51fb3
db? (#238)
jauhariel Feb 27, 2022
dbf7b55
Update README.md (#236)
DineshValor Feb 27, 2022
291aeb6
Merge with tools menu (#251)
DineshValor Mar 2, 2022
90e9ee1
Updates and fix bugs
BochilGaming Mar 7, 2022
5e8e82c
Updated config.yml
BochilGaming Mar 7, 2022
4ba6b2b
Updated config.yml
BochilGaming Mar 7, 2022
323ed3d
Updated config.yml
BochilGaming Mar 7, 2022
8a74e08
Updated config.yml
BochilGaming Mar 7, 2022
4b80eff
Updated config.yml
BochilGaming Mar 7, 2022
aef9ac6
Updated config.yml
BochilGaming Mar 7, 2022
88cf965
Updated config.yml
BochilGaming Mar 7, 2022
d09c56e
Updated config.yml
BochilGaming Mar 7, 2022
01e9186
install qrcode-terminal
BochilGaming Mar 7, 2022
1027909
Updated config.yml
BochilGaming Mar 7, 2022
1997986
Updated config.yml
BochilGaming Mar 7, 2022
d2b99db
Updated config.yml
BochilGaming Mar 8, 2022
5640a73
Fix 'no qr-terminal dependency' (#257)
DineshValor Mar 8, 2022
4032346
Update "steps for termux user" (#258)
DineshValor Mar 8, 2022
cc1eb9c
Fix m.getQuotedObj
BochilGaming Mar 8, 2022
e0b693b
dare button (#266)
Mar 15, 2022
9299824
truth button (#265)
Mar 15, 2022
5c9f2a5
update button (#264)
Mar 15, 2022
eec37e5
Update gitclone.js (#267)
DineshValor Mar 15, 2022
309bf43
Error steps for termux user (#260)
DineshValor Mar 17, 2022
17e364d
Updates
BochilGaming Mar 17, 2022
0494b34
Added `--autocleartmp` (#283)
DineshValor Mar 21, 2022
a3cb18a
Little changes (#287)
DineshValor Mar 23, 2022
05b06ea
Add cmdWithMedia & Tagall (#290)
aniq12 Mar 26, 2022
16d4ac2
Bump @bochilteam/scraper
BochilGaming Mar 27, 2022
b1627c8
Create downloader-mediafirejs (#301)
Apr 8, 2022
a26f2a0
Update quotes-bucin.js (#304)
Apr 8, 2022
64e7185
Leave Gc (#314)
aniq12 Apr 15, 2022
8a521a2
Move to baileys stable version (#293)
DineshValor Apr 21, 2022
ce05b7d
Updates
BochilGaming Apr 21, 2022
9cc124c
fix cmdWithMedia (#324)
aniq12 Apr 25, 2022
877ec2d
fix readviewonce (#326)
aniq12 May 14, 2022
65b9e05
Kunci command stiker (#333)
jauhariel May 22, 2022
3226bae
Reduce global variable
BochilGaming May 26, 2022
f8489f7
Update cmd-set.js (#335)
May 26, 2022
976346a
Fix print 'cannot read property'
BochilGaming May 26, 2022
3eb8f20
Fix autoread
BochilGaming May 27, 2022
ca5ff2b
Fix loadMessage if message undefined
BochilGaming May 28, 2022
02d66dc
Fix error: conn is not defined
BochilGaming May 28, 2022
13505f5
Fix welcome/bye, and update owner-exec
BochilGaming May 29, 2022
2142e30
Banned user & unbanned user (#347)
jauhariel Jun 1, 2022
103f5f7
Fix session in windows
BochilGaming Jun 7, 2022
846794f
Fix fetch
BochilGaming Jun 11, 2022
5beebd8
Typo + kurang dikit (#355)
jauhariel Jun 12, 2022
d2e5a27
addmsg, delmsg, listmsg (#348)
aniq12 Jun 20, 2022
beaf508
Fix message delete
BochilGaming Jun 20, 2022
040c3f5
update (#376)
Jul 11, 2022
7b2fba9
Some bug fixes
BochilGaming Jul 17, 2022
df6f48f
.
BochilGaming Jul 17, 2022
f5b632b
Fix queque
BochilGaming Jul 17, 2022
1cb3003
Close after open
BochilGaming Jul 17, 2022
2d07207
Fix some bugs
BochilGaming Jul 31, 2022
ae26418
Delete TODO
BochilGaming Jul 31, 2022
d041440
Fix bug and new feature
BochilGaming Aug 3, 2022
2973c57
Merge branch 'multi-device' of https://github.com/BochilGaming/games-…
BochilGaming Aug 3, 2022
9a7864b
anu (#392)
raseldev18 Aug 10, 2022
b1e71e1
Fix mongodbv2
BochilGaming Aug 14, 2022
81e69ad
resolve
BochilGaming Aug 14, 2022
a0d9b37
better resolve
BochilGaming Aug 14, 2022
4f3e5fb
anu conn (#398)
Aug 28, 2022
c0adada
Update anonymous_chat.js (#399)
Ftwrr Aug 28, 2022
8c2e5f3
Add support multi directory plugin and change buffer to stream
BochilGaming Oct 27, 2022
12fcab4
Merge branch 'multi-device' of https://github.com/BochilGaming/games-…
BochilGaming Oct 27, 2022
00f4b50
Fix loading plugins in windows
BochilGaming Oct 28, 2022
301badf
delete debugging
BochilGaming Oct 29, 2022
e6d5e83
Fix downloadM()
BochilGaming Oct 30, 2022
e4151d3
Fixed a bug
BochilGaming Dec 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 37 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2.1
orbs:
node: circleci/node@4.7.0
node: circleci/node@5.0.0

jobs:
test:
Expand All @@ -11,14 +11,48 @@ jobs:
- image: cimg/node:<< parameters.node-version >>
steps:
- checkout
- restore_cache:
key: v1-deps-{{ checksum "package.json" }}-<< parameters.node-version >>
- run:
name: Install packages
command: npm install --prefer-offline --no-audit --progress=false
- save_cache:
key: v1-deps-{{ checksum "package.json" }}-<< parameters.node-version >>
paths:
- node_modules
- package-lock.json
- run:
name: Run test using nodejs << parameters.node-version >>
command: node test.js

push:
docker:
- image: cimg/base:2021.04
steps:
- add_ssh_keys:
fingerprints:
- "5b:27:23:ab:01:73:4e:bb:a1:6f:24:c1:8b:5c:54:5f"
- checkout
- run:
name: Clone repo
command: git clone --mirror https://github.com/BochilGaming/games-wabot.git
- run:
name: Change directory & Remote mirror repo & Update repo &
command: cd games-wabot.git &&
git remote set-url --push origin https://github.com/BochilGaming/games-wabot-md.git &&
git fetch -p origin &&
(git push --mirror || exit 0)
workflows:
all-test:
jobs:
- test:
matrix:
parameters:
node-version: [12.22.6, 14.17.6, 16.8.0]
node-version: ['14.19', '16.14', '17.5']
push-to-mirror:
jobs:
- push:
filters:
branches:
only:
- multi-device
- main
148 changes: 130 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,135 @@
# Compiled class file
*.class

# Log file
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# BlueJ files
*.ctxt
# TernJS port file
.tern-port

# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
sessions/
data.store.json
database.json
package-lock.json
19 changes: 19 additions & 0 deletions Dockerfile
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"]
Loading