priyanshbot12 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/.Dockerignore +4 -0
- package/.dockerignore +4 -0
- package/.github/workflows/publish.yml +20 -0
- package/Dockerfile +5 -0
- package/Priyansh.js +601 -0
- package/appcap.json +0 -0
- package/appstate.json +263 -0
- package/config.json +231 -0
- package/includes/antist.sqlite +0 -0
- package/includes/controllers/currencies.js +100 -0
- package/includes/controllers/threads.js +89 -0
- package/includes/controllers/users.js +96 -0
- package/includes/database/index.js +41 -0
- package/includes/database/model.js +22 -0
- package/includes/database/models/currencies.js +26 -0
- package/includes/database/models/threads.js +21 -0
- package/includes/database/models/users.js +21 -0
- package/includes/handle/handleCommand.js +140 -0
- package/includes/handle/handleCommandEvent.js +43 -0
- package/includes/handle/handleCreateDatabase.js +62 -0
- package/includes/handle/handleEvent.js +37 -0
- package/includes/handle/handleNotification.js +47 -0
- package/includes/handle/handleReaction.js +44 -0
- package/includes/handle/handleRefresh.js +66 -0
- package/includes/handle/handleReply.js +44 -0
- package/includes/listen.js +307 -0
- package/index.js +93 -0
- package/languages/en.lang +103 -0
- package/languages/vi.lang +104 -0
- package/lol.json +4001 -0
- package/modChangeColorFca.js +78 -0
- package/modules/commands/0tom.js +25 -0
- package/modules/commands/6packs.js +142 -0
- package/modules/commands/Bio.js +18 -0
- package/modules/commands/Getavtfb.js +59 -0
- package/modules/commands/Google.js +77 -0
- package/modules/commands/Obama.js +74 -0
- package/modules/commands/Onbot.js +5 -0
- package/modules/commands/Priyanshu/approvedThreads.json +151 -0
- package/modules/commands/Priyanshu/pendingdThreads.json +1 -0
- package/modules/commands/Rank.js +201 -0
- package/modules/commands/Rushi.js +30 -0
- package/modules/commands/Simpson.js +76 -0
- package/modules/commands/Troll.json +26 -0
- package/modules/commands/Trump.js +76 -0
- package/modules/commands/Vonglap.js +24 -0
- package/modules/commands/Work-beta.js +113 -0
- package/modules/commands/aah-xsound.js +26 -0
- package/modules/commands/accept_fri.js +111 -0
- package/modules/commands/adc.js +106 -0
- package/modules/commands/adden.js +83 -0
- package/modules/commands/adduser.js +52 -0
- package/modules/commands/admin.js +254 -0
- package/modules/commands/ai.js +97 -0
- package/modules/commands/ai1.js +39 -0
- package/modules/commands/alert.js +1 -0
- package/modules/commands/allbox.js +194 -0
- package/modules/commands/alllin.js +85 -0
- package/modules/commands/altar.js +56 -0
- package/modules/commands/amogus.js +26 -0
- package/modules/commands/anifact.js +33 -0
- package/modules/commands/animalear.js +26 -0
- package/modules/commands/animeimg.js +25 -0
- package/modules/commands/animescrape.js +101 -0
- package/modules/commands/antichange.js +237 -0
- package/modules/commands/antijoin.js +22 -0
- package/modules/commands/antiout.js +22 -0
- package/modules/commands/antirobbery.js +22 -0
- package/modules/commands/approve.js +139 -0
- package/modules/commands/appstate.js +30 -0
- package/modules/commands/ara.js +28 -0
- package/modules/commands/art.js +39 -0
- package/modules/commands/astalk.json +85 -0
- package/modules/commands/autoban.js +45 -0
- package/modules/commands/automention.js +17 -0
- package/modules/commands/autoreact.js +62 -0
- package/modules/commands/autoreset.js +40 -0
- package/modules/commands/autoseen.js +1 -0
- package/modules/commands/autosetname.js +52 -0
- package/modules/commands/avatar.js +32 -0
- package/modules/commands/avt.js +76 -0
- package/modules/commands/award.js +84 -0
- package/modules/commands/ayaka.js +134 -0
- package/modules/commands/baicao.js +166 -0
- package/modules/commands/balance.js +42 -0
- package/modules/commands/ban.js +220 -0
- package/modules/commands/banking.js +132 -0
- package/modules/commands/banner.js +93 -0
- package/modules/commands/banner2.js +237 -0
- package/modules/commands/banner3.js +510 -0
- package/modules/commands/bard.js +59 -0
- package/modules/commands/batmanslap.js +79 -0
- package/modules/commands/baybayin.js +18 -0
- package/modules/commands/bbm.js +84 -0
- package/modules/commands/beast.js +62 -0
- package/modules/commands/bf.js +74 -0
- package/modules/commands/biden.js +25 -0
- package/modules/commands/bigtext.js +219 -0
- package/modules/commands/billboard.js +83 -0
- package/modules/commands/birthday.js +27 -0
- package/modules/commands/board.js +74 -0
- package/modules/commands/bot.js +245 -0
- package/modules/commands/bot1.js +414 -0
- package/modules/commands/botban.js +51 -0
- package/modules/commands/botsay.js +16 -0
- package/modules/commands/box.js +119 -0
- package/modules/commands/boxinfo.js +53 -0
- package/modules/commands/bruh.js +26 -0
- package/modules/commands/cache/1.png +0 -0
- package/modules/commands/cache/2.gif +0 -0
- package/modules/commands/cache/2.png +0 -0
- package/modules/commands/cache/20.jpg +0 -0
- package/modules/commands/cache/3.png +0 -0
- package/modules/commands/cache/4.png +0 -0
- package/modules/commands/cache/5.png +0 -0
- package/modules/commands/cache/50.jpg +0 -0
- package/modules/commands/cache/6.png +0 -0
- package/modules/commands/cache/7.png +0 -0
- package/modules/commands/cache/8.jpg +0 -0
- package/modules/commands/cache/8.png +0 -0
- package/modules/commands/cache/9.png +0 -0
- package/modules/commands/cache/AlegreyaSans-Regular.ttf +0 -0
- package/modules/commands/cache/ArialUnicodeMS.ttf +0 -0
- package/modules/commands/cache/Avthai.png +0 -0
- package/modules/commands/cache/Play-Bold.ttf +0 -0
- package/modules/commands/cache/SVN-Arial 2.ttf +0 -0
- package/modules/commands/cache/VNCORSI.ttf +0 -0
- package/modules/commands/cache/autoseen.txt +1 -0
- package/modules/commands/cache/autosetname.json +1 -0
- package/modules/commands/cache/avt.png +0 -0
- package/modules/commands/cache/avt2.png +0 -0
- package/modules/commands/cache/avt_100000377396525.png +0 -0
- package/modules/commands/cache/avt_100027379701085.png +0 -0
- package/modules/commands/cache/avtuserrd2.png +0 -0
- package/modules/commands/cache/avtuserrd3.png +0 -0
- package/modules/commands/cache/banner.gif +0 -0
- package/modules/commands/cache/biden1.png +2 -0
- package/modules/commands/cache/bill.json +1 -0
- package/modules/commands/cache/bold-font.ttf +0 -0
- package/modules/commands/cache/canvas/arr2.png +0 -0
- package/modules/commands/cache/canvas/choigay.png +0 -0
- package/modules/commands/cache/canvas/fuck.png +0 -0
- package/modules/commands/cache/canvas/fuckv2.png +0 -0
- package/modules/commands/cache/canvas/fuckv3.png +0 -0
- package/modules/commands/cache/canvas/fuckv4.png +0 -0
- package/modules/commands/cache/canvas/hug4.png +0 -0
- package/modules/commands/cache/canvas/hugp.png +0 -0
- package/modules/commands/cache/canvas/hugv1.png +0 -0
- package/modules/commands/cache/canvas/hugv2.png +0 -0
- package/modules/commands/cache/canvas/hugv3.png +0 -0
- package/modules/commands/cache/canvas/josh.png +0 -0
- package/modules/commands/cache/canvas/joshua.png +0 -0
- package/modules/commands/cache/canvas/love2.jpg +0 -0
- package/modules/commands/cache/canvas/marriedv1.png +0 -0
- package/modules/commands/cache/canvas/marriedv2.png +0 -0
- package/modules/commands/cache/canvas/marriedv3.png +0 -0
- package/modules/commands/cache/canvas/marriedv4.png +0 -0
- package/modules/commands/cache/canvas/marriedv5.png +0 -0
- package/modules/commands/cache/canvas/marriedv6.jpeg +0 -0
- package/modules/commands/cache/canvas/marrywi.png +0 -0
- package/modules/commands/cache/canvas/namtay.png +0 -0
- package/modules/commands/cache/canvas/pairing.jpg +0 -0
- package/modules/commands/cache/canvas/pj.png +0 -0
- package/modules/commands/cache/canvas/seophi.png +0 -0
- package/modules/commands/cache/checkttDay.json +11594 -0
- package/modules/commands/cache/chocolate.jpg +0 -0
- package/modules/commands/cache/customrank/.txt +1 -0
- package/modules/commands/cache/data.json +3 -0
- package/modules/commands/cache/datlich.json +1 -0
- package/modules/commands/cache/dhbc1.png +0 -0
- package/modules/commands/cache/dhbc2.png +0 -0
- package/modules/commands/cache/elaina.jpg +0 -0
- package/modules/commands/cache/fbcover.png +0 -0
- package/modules/commands/cache/giflove.png +0 -0
- package/modules/commands/cache/giflove1.png +0 -0
- package/modules/commands/cache/giflove2.png +0 -0
- package/modules/commands/cache/giflove3.png +0 -0
- package/modules/commands/cache/giflove4.png +0 -0
- package/modules/commands/cache/giflove5.png +0 -0
- package/modules/commands/cache/giflove6.png +0 -0
- package/modules/commands/cache/giflove7.png +0 -0
- package/modules/commands/cache/hon.png +0 -0
- package/modules/commands/cache/hon1.png +0 -0
- package/modules/commands/cache/hon2.png +0 -0
- package/modules/commands/cache/image-0.png +0 -0
- package/modules/commands/cache/image-1.png +0 -0
- package/modules/commands/cache/image-10.png +0 -0
- package/modules/commands/cache/image-11.png +0 -0
- package/modules/commands/cache/image-12.png +0 -0
- package/modules/commands/cache/image-13.png +0 -0
- package/modules/commands/cache/image-14.png +0 -0
- package/modules/commands/cache/image-15.png +0 -0
- package/modules/commands/cache/image-16.png +0 -0
- package/modules/commands/cache/image-17.png +0 -0
- package/modules/commands/cache/image-18.png +0 -0
- package/modules/commands/cache/image-19.png +0 -0
- package/modules/commands/cache/image-2.png +0 -0
- package/modules/commands/cache/image-20.png +0 -0
- package/modules/commands/cache/image-21.png +0 -0
- package/modules/commands/cache/image-22.png +0 -0
- package/modules/commands/cache/image-23.png +0 -0
- package/modules/commands/cache/image-24.png +0 -0
- package/modules/commands/cache/image-25.png +0 -0
- package/modules/commands/cache/image-26.png +0 -0
- package/modules/commands/cache/image-27.png +0 -0
- package/modules/commands/cache/image-28.png +0 -0
- package/modules/commands/cache/image-29.png +0 -0
- package/modules/commands/cache/image-3.png +0 -0
- package/modules/commands/cache/image-30.png +0 -0
- package/modules/commands/cache/image-31.png +0 -0
- package/modules/commands/cache/image-32.png +0 -0
- package/modules/commands/cache/image-33.png +0 -0
- package/modules/commands/cache/image-34.png +0 -0
- package/modules/commands/cache/image-35.png +0 -0
- package/modules/commands/cache/image-36.png +0 -0
- package/modules/commands/cache/image-37.png +0 -0
- package/modules/commands/cache/image-38.png +0 -0
- package/modules/commands/cache/image-39.png +0 -0
- package/modules/commands/cache/image-4.png +0 -0
- package/modules/commands/cache/image-40.png +0 -0
- package/modules/commands/cache/image-41.png +0 -0
- package/modules/commands/cache/image-42.png +0 -0
- package/modules/commands/cache/image-43.png +0 -0
- package/modules/commands/cache/image-44.png +0 -0
- package/modules/commands/cache/image-45.png +0 -0
- package/modules/commands/cache/image-46.png +0 -0
- package/modules/commands/cache/image-47.png +0 -0
- package/modules/commands/cache/image-48.png +0 -0
- package/modules/commands/cache/image-49.png +0 -0
- package/modules/commands/cache/image-5.png +0 -0
- package/modules/commands/cache/image-50.png +0 -0
- package/modules/commands/cache/image-51.png +0 -0
- package/modules/commands/cache/image-52.png +0 -0
- package/modules/commands/cache/image-53.png +0 -0
- package/modules/commands/cache/image-6.png +0 -0
- package/modules/commands/cache/image-7.png +0 -0
- package/modules/commands/cache/image-8.png +0 -0
- package/modules/commands/cache/image-9.png +0 -0
- package/modules/commands/cache/img1.png +0 -0
- package/modules/commands/cache/img2.png +0 -0
- package/modules/commands/cache/listwarning.json +1 -0
- package/modules/commands/cache/lyrics.png +0 -0
- package/modules/commands/cache/memory.ttf +1950 -0
- package/modules/commands/cache/memorygame.png +0 -0
- package/modules/commands/cache/menu.gif +0 -0
- package/modules/commands/cache/mikasa.jpg +0 -0
- package/modules/commands/cache/mirai.jpg +0 -0
- package/modules/commands/cache/nami.jpg +0 -0
- package/modules/commands/cache/night.jpg +0 -0
- package/modules/commands/cache/notes.json +1 -0
- package/modules/commands/cache/priyansh.jpg +0 -0
- package/modules/commands/cache/quybu.gif +0 -0
- package/modules/commands/cache/rankcard.png +0 -0
- package/modules/commands/cache/rankcard1.png +0 -0
- package/modules/commands/cache/rankcard10.png +0 -0
- package/modules/commands/cache/rankcard11.png +0 -0
- package/modules/commands/cache/rankcard12.png +0 -0
- package/modules/commands/cache/rankcard13.png +0 -0
- package/modules/commands/cache/rankcard14.png +0 -0
- package/modules/commands/cache/rankcard2.png +0 -0
- package/modules/commands/cache/rankcard3.png +0 -0
- package/modules/commands/cache/rankcard4.png +0 -0
- package/modules/commands/cache/rankcard5.png +0 -0
- package/modules/commands/cache/rankcard6.png +0 -0
- package/modules/commands/cache/rankcard7.png +0 -0
- package/modules/commands/cache/rankcard8.png +0 -0
- package/modules/commands/cache/rankcard9.png +0 -0
- package/modules/commands/cache/rankup/.txt +1 -0
- package/modules/commands/cache/regular-font.ttf +0 -0
- package/modules/commands/cache/rules.json +1 -0
- package/modules/commands/cache/shortcutdata.json +6 -0
- package/modules/commands/cache/snoti.jpg +0 -0
- package/modules/commands/cache/statusAuto.json +3 -0
- package/modules/commands/cache/tiktok.png +0 -0
- package/modules/commands/cache/toilet.png +0 -0
- package/modules/commands/cache/toilet1.png +0 -0
- package/modules/commands/cache/ttt.png +0 -0
- package/modules/commands/cache/urbanjungle.ttf +0 -0
- package/modules/commands/cache/wanted.png +3 -0
- package/modules/commands/cache.js +112 -0
- package/modules/commands/callad.js +215 -0
- package/modules/commands/cardbox.js +161 -0
- package/modules/commands/cardcute.js +122 -0
- package/modules/commands/cardinfo.js +106 -0
- package/modules/commands/cardinfotag.js +110 -0
- package/modules/commands/cardinfov2.js +103 -0
- package/modules/commands/cardinfov3.js +111 -0
- package/modules/commands/cardinfov4.js +104 -0
- package/modules/commands/caro.json +354 -0
- package/modules/commands/catsay.js +25 -0
- package/modules/commands/cave.js +51 -0
- package/modules/commands/chart.js +35 -0
- package/modules/commands/checktt.js +121 -0
- package/modules/commands/checkv1.js +181 -0
- package/modules/commands/cheems.js +88 -0
- package/modules/commands/chocolate.js +26 -0
- package/modules/commands/choose.js +28 -0
- package/modules/commands/chumma.js +25 -0
- package/modules/commands/clearcache.js +60 -0
- package/modules/commands/cmd.js +192 -0
- package/modules/commands/cnbh.js +118 -0
- package/modules/commands/code.js +101 -0
- package/modules/commands/communism.js +56 -0
- package/modules/commands/confess.js +25 -0
- package/modules/commands/console.js +46 -0
- package/modules/commands/cosplay.json +38 -0
- package/modules/commands/count-by-thread/.txt +1 -0
- package/modules/commands/count.js +82 -0
- package/modules/commands/couple.js +80 -0
- package/modules/commands/coupledp.js +40 -0
- package/modules/commands/covid.js +46 -0
- package/modules/commands/crypto.js +109 -0
- package/modules/commands/daily.js +46 -0
- package/modules/commands/darock.js +27 -0
- package/modules/commands/daru.js +26 -0
- package/modules/commands/data/.txt +1 -0
- package/modules/commands/date.js +80 -0
- package/modules/commands/date2.js +80 -0
- package/modules/commands/deletelogo.js +32 -0
- package/modules/commands/delmsg.js +25 -0
- package/modules/commands/delthread.js +26 -0
- package/modules/commands/details.js +112 -0
- package/modules/commands/dictionary.js +42 -0
- package/modules/commands/dog.js +27 -0
- package/modules/commands/dogfact.js +31 -0
- package/modules/commands/doof.js +74 -0
- package/modules/commands/dot.js +58 -0
- package/modules/commands/download.js +32 -0
- package/modules/commands/drake.js +84 -0
- package/modules/commands/drip.js +61 -0
- package/modules/commands/einstein.js +74 -0
- package/modules/commands/elon.js +78 -0
- package/modules/commands/emoji.js +83 -0
- package/modules/commands/enrile.js +76 -0
- package/modules/commands/event.js +223 -0
- package/modules/commands/example.js +49 -0
- package/modules/commands/fact.js +16 -0
- package/modules/commands/fact2.js +26 -0
- package/modules/commands/family.js +194 -0
- package/modules/commands/fbcover.js +183 -0
- package/modules/commands/fbcoverv2.js +101 -0
- package/modules/commands/fberror.js +74 -0
- package/modules/commands/fbget.js +41 -0
- package/modules/commands/file.js +106 -0
- package/modules/commands/fire.js +52 -0
- package/modules/commands/fish.js +48 -0
- package/modules/commands/fishing.json +330 -0
- package/modules/commands/fuck.js +74 -0
- package/modules/commands/fuck2.js +74 -0
- package/modules/commands/fuck3.js +74 -0
- package/modules/commands/fuck4.js +74 -0
- package/modules/commands/fuck5.js +74 -0
- package/modules/commands/fyoutoo.js +25 -0
- package/modules/commands/fyt.js +58 -0
- package/modules/commands/gali_reply.js +24 -0
- package/modules/commands/game1.js +34 -0
- package/modules/commands/getlink.js +26 -0
- package/modules/commands/gf.js +74 -0
- package/modules/commands/girl.js +11497 -0
- package/modules/commands/girl2.js +23319 -0
- package/modules/commands/girlnude.js +126 -0
- package/modules/commands/github.js +37 -0
- package/modules/commands/giveaway.js +122 -0
- package/modules/commands/gpt.js +39 -0
- package/modules/commands/groupemoji.js +17 -0
- package/modules/commands/groupimage.js +24 -0
- package/modules/commands/groupname.js +17 -0
- package/modules/commands/hack.js +103 -0
- package/modules/commands/help.js +122 -0
- package/modules/commands/help2.js +160 -0
- package/modules/commands/help3.js +83 -0
- package/modules/commands/hi.js +191 -0
- package/modules/commands/hi2.js +83 -0
- package/modules/commands/history.js +74 -0
- package/modules/commands/hold.js +80 -0
- package/modules/commands/hololive.js +63 -0
- package/modules/commands/hug.js +74 -0
- package/modules/commands/hug4.js +74 -0
- package/modules/commands/hug5.js +74 -0
- package/modules/commands/hugj.js +74 -0
- package/modules/commands/hugp.js +74 -0
- package/modules/commands/hugv2.js +74 -0
- package/modules/commands/hugv3.js +74 -0
- package/modules/commands/idst.js +25 -0
- package/modules/commands/imagesearch.js +96 -0
- package/modules/commands/imagine.js +143 -0
- package/modules/commands/info.js +62 -0
- package/modules/commands/infobox.js +161 -0
- package/modules/commands/infocardv7.js +112 -0
- package/modules/commands/infoip.js +24 -0
- package/modules/commands/infosite.js +47 -0
- package/modules/commands/insta.js +210 -0
- package/modules/commands/instagram.js +131 -0
- package/modules/commands/install.js +103 -0
- package/modules/commands/ip.js +55 -0
- package/modules/commands/isko.json +74 -0
- package/modules/commands/iss.js +29 -0
- package/modules/commands/japan.js +211 -0
- package/modules/commands/jessica.js +74 -0
- package/modules/commands/join.js +51 -0
- package/modules/commands/kanna.js +27 -0
- package/modules/commands/khana.js +26 -0
- package/modules/commands/kick.js +51 -0
- package/modules/commands/kiss.js +79 -0
- package/modules/commands/kiss2.js +79 -0
- package/modules/commands/kiss3.js +85 -0
- package/modules/commands/language.js +37 -0
- package/modules/commands/ledtext.js +38 -0
- package/modules/commands/leni.js +84 -0
- package/modules/commands/lexi.js +74 -0
- package/modules/commands/listadmin.js +36 -0
- package/modules/commands/listbanbybot.js +165 -0
- package/modules/commands/listbox.js +203 -0
- package/modules/commands/listfriend.js +90 -0
- package/modules/commands/load.js +15 -0
- package/modules/commands/log.js +37 -0
- package/modules/commands/logobear.js +31 -0
- package/modules/commands/logogame.js +31 -0
- package/modules/commands/logogaming2.js +31 -0
- package/modules/commands/logogaming3.js +31 -0
- package/modules/commands/logogaming4.js +31 -0
- package/modules/commands/logogaming5.js +31 -0
- package/modules/commands/logogirlgame.js +31 -0
- package/modules/commands/logogold.js +31 -0
- package/modules/commands/logoninja.js +31 -0
- package/modules/commands/logout.js +16 -0
- package/modules/commands/logowolf.js +31 -0
- package/modules/commands/love.js +80 -0
- package/modules/commands/luatbot.js +24 -0
- package/modules/commands/luckynum.js +34 -0
- package/modules/commands/lyrics.js +34 -0
- package/modules/commands/mal.js +72 -0
- package/modules/commands/malnews.js +20 -0
- package/modules/commands/mark.js +74 -0
- package/modules/commands/markcmt.js +74 -0
- package/modules/commands/married.js +74 -0
- package/modules/commands/marriedj.js +74 -0
- package/modules/commands/marriedv2.js +74 -0
- package/modules/commands/marriedv3.js +74 -0
- package/modules/commands/marriedv4.js +74 -0
- package/modules/commands/marriedv5.js +74 -0
- package/modules/commands/marriedv6.js +74 -0
- package/modules/commands/marry.js +74 -0
- package/modules/commands/math.js +121 -0
- package/modules/commands/mathematics.js +37 -0
- package/modules/commands/mbbank.js +74 -0
- package/modules/commands/meme.js +31 -0
- package/modules/commands/memory.js +136 -0
- package/modules/commands/mention.js +22 -0
- package/modules/commands/menu.js +142 -0
- package/modules/commands/minari.js +49 -0
- package/modules/commands/minigame.js +32 -0
- package/modules/commands/minionslanguange.js +24 -0
- package/modules/commands/mlbb.js +1 -0
- package/modules/commands/mlstalk.js +22 -0
- package/modules/commands/mobilelegends.js +31 -0
- package/modules/commands/morse.js +27 -0
- package/modules/commands/music.js +138 -0
- package/modules/commands/music2.js +44 -0
- package/modules/commands/music3.js +124 -0
- package/modules/commands/mycoins.js +45 -0
- package/modules/commands/namtay.js +80 -0
- package/modules/commands/natsuki.json +63 -0
- package/modules/commands/naughty.js +58 -0
- package/modules/commands/newbox.js +22 -0
- package/modules/commands/news.js +64 -0
- package/modules/commands/nhentai.js +47 -0
- package/modules/commands/night.js +26 -0
- package/modules/commands/ninja.js +18 -0
- package/modules/commands/noitu.js +42 -0
- package/modules/commands/noprefix/Yest +1 -0
- package/modules/commands/noprefix/ara.mp3 +0 -0
- package/modules/commands/noprefix/box.mp4 +0 -0
- package/modules/commands/noprefix/daru.mp4 +0 -0
- package/modules/commands/noprefix/dk.mp3 +0 -0
- package/modules/commands/noprefix/fuck.gif +0 -0
- package/modules/commands/noprefix/hi.gif +0 -0
- package/modules/commands/noprefix/instagram.jpg +0 -0
- package/modules/commands/noprefix/rankup/.txt +1 -0
- package/modules/commands/noprefix/solar.gif +0 -0
- package/modules/commands/noprefix/sub.mp3 +0 -0
- package/modules/commands/noprefix/sus.mp3 +0 -0
- package/modules/commands/noprefix/tea.mp4 +0 -0
- package/modules/commands/noprefix/totalChat.json +1 -0
- package/modules/commands/noprefix/v.mp3 +0 -0
- package/modules/commands/noprefix/vineboom.gif +0 -0
- package/modules/commands/noprefix/wednesday.mp4 +0 -0
- package/modules/commands/noprefix/wn.mp4 +0 -0
- package/modules/commands/noprefix/xf.mp3 +0 -0
- package/modules/commands/noprefix/xxx.mp3 +0 -0
- package/modules/commands/noprefix/yamate.mp3 +0 -0
- package/modules/commands/note.js +86 -0
- package/modules/commands/npm.js +30 -0
- package/modules/commands/nsfw.js +43 -0
- package/modules/commands/nsfwanime.js +101 -0
- package/modules/commands/nude.js +25 -0
- package/modules/commands/osu.js +21 -0
- package/modules/commands/out.js +23 -0
- package/modules/commands/outall.js +26 -0
- package/modules/commands/outbox.js +117 -0
- package/modules/commands/package.js +119 -0
- package/modules/commands/pair.js +86 -0
- package/modules/commands/pair1.js +86 -0
- package/modules/commands/pair2.js +51 -0
- package/modules/commands/pair3.js +51 -0
- package/modules/commands/pair4.js +51 -0
- package/modules/commands/pair5.js +51 -0
- package/modules/commands/pair6.js +51 -0
- package/modules/commands/pair7.js +51 -0
- package/modules/commands/pair8.js +51 -0
- package/modules/commands/pantiesclose.js +199 -0
- package/modules/commands/pantiesclosev2.js +199 -0
- package/modules/commands/password.js +83 -0
- package/modules/commands/pat.js +43 -0
- package/modules/commands/pay.json +64 -0
- package/modules/commands/pending.js +83 -0
- package/modules/commands/penis.js +11 -0
- package/modules/commands/penticlose.js +199 -0
- package/modules/commands/petmonsters.js +138 -0
- package/modules/commands/phub.js +83 -0
- package/modules/commands/pin.js +36 -0
- package/modules/commands/ping.js +30 -0
- package/modules/commands/pingv2.js +32 -0
- package/modules/commands/pinterest.js +37 -0
- package/modules/commands/playstore.js +103 -0
- package/modules/commands/poli.js +25 -0
- package/modules/commands/pooh.js +28 -0
- package/modules/commands/post.js +272 -0
- package/modules/commands/prefix.js +43 -0
- package/modules/commands/prefixv2.js +91 -0
- package/modules/commands/prince.js +245 -0
- package/modules/commands/priyansh.js +33 -0
- package/modules/commands/pubg.js +31 -0
- package/modules/commands/punch.js +44 -0
- package/modules/commands/qr.js +36 -0
- package/modules/commands/quiz.js +51 -0
- package/modules/commands/rainbow.js +29 -0
- package/modules/commands/randomicon.js +36 -0
- package/modules/commands/rankcard (copy).js +257 -0
- package/modules/commands/rankcard.js +216 -0
- package/modules/commands/rankgif.js +375 -0
- package/modules/commands/rankup.js +123 -0
- package/modules/commands/red.js +29 -0
- package/modules/commands/red2.js +1 -0
- package/modules/commands/reload.js +22 -0
- package/modules/commands/removebg.js +61 -0
- package/modules/commands/resend.js +86 -0
- package/modules/commands/resetexp.js +25 -0
- package/modules/commands/resetmoney.js +25 -0
- package/modules/commands/restart.js +32 -0
- package/modules/commands/rip.js +32 -0
- package/modules/commands/rnamebot.js +39 -0
- package/modules/commands/rnamebox.js +27 -0
- package/modules/commands/rule.js +86 -0
- package/modules/commands/sauce.js +56 -0
- package/modules/commands/say.js +62 -0
- package/modules/commands/schoolid.js +107 -0
- package/modules/commands/screenshot.js +44 -0
- package/modules/commands/screenshotv2.js +44 -0
- package/modules/commands/search.js +21 -0
- package/modules/commands/selflisten.js +30 -0
- package/modules/commands/sendfile.js +102 -0
- package/modules/commands/sendnoti.js +76 -0
- package/modules/commands/sendnoti1.js +40 -0
- package/modules/commands/sendnoti2.js +75 -0
- package/modules/commands/sendnoti5.js +113 -0
- package/modules/commands/sentnoti.js +49 -0
- package/modules/commands/setall.js +24 -0
- package/modules/commands/setcoins.js +21 -0
- package/modules/commands/setdatabox.js +26 -0
- package/modules/commands/setdatauser.js +28 -0
- package/modules/commands/setemoji.js +15 -0
- package/modules/commands/setexp.js +64 -0
- package/modules/commands/setjoin.js +94 -0
- package/modules/commands/setkey.js +18 -0
- package/modules/commands/setmoney.js +63 -0
- package/modules/commands/setname.js +17 -0
- package/modules/commands/setnameall.js +24 -0
- package/modules/commands/setprefix.js +58 -0
- package/modules/commands/setrankup.js +90 -0
- package/modules/commands/shayri.js +34 -0
- package/modules/commands/shell.js +31 -0
- package/modules/commands/shortcut.js +177 -0
- package/modules/commands/siesta.js +25 -0
- package/modules/commands/sim.js +51 -0
- package/modules/commands/sing.js +1 -0
- package/modules/commands/slap.js +44 -0
- package/modules/commands/sleep.js +61 -0
- package/modules/commands/slot.js +61 -0
- package/modules/commands/slotwaifu.js +254 -0
- package/modules/commands/solarsystem.js +102 -0
- package/modules/commands/spamban.js +69 -0
- package/modules/commands/spamban1.js +69 -0
- package/modules/commands/spank.js +30 -0
- package/modules/commands/status.js +37 -0
- package/modules/commands/steal.js +41 -0
- package/modules/commands/student.js +75 -0
- package/modules/commands/studentv2.js +75 -0
- package/modules/commands/studentv3.js +74 -0
- package/modules/commands/sub.js +26 -0
- package/modules/commands/system.js +82 -0
- package/modules/commands/tea.js +26 -0
- package/modules/commands/teach.js +70 -0
- package/modules/commands/textpro.js +445 -0
- package/modules/commands/thread.js +272 -0
- package/modules/commands/tictactoe.json +219 -0
- package/modules/commands/tid.js +15 -0
- package/modules/commands/tiki.js +74 -0
- package/modules/commands/tikvideo.js +59 -0
- package/modules/commands/tile.js +43 -0
- package/modules/commands/time.js +19 -0
- package/modules/commands/toctoc.js +1 -0
- package/modules/commands/toilet.js +79 -0
- package/modules/commands/token.js +42 -0
- package/modules/commands/top.js +160 -0
- package/modules/commands/trans.js +44 -0
- package/modules/commands/triggered.js +25 -0
- package/modules/commands/try.js +35 -0
- package/modules/commands/tweet-tag.json +1 -0
- package/modules/commands/tweet.js +75 -0
- package/modules/commands/tweet.json +92 -0
- package/modules/commands/tweetv2.json +92 -0
- package/modules/commands/uid.js +17 -0
- package/modules/commands/unban.js +186 -0
- package/modules/commands/unsend.js +27 -0
- package/modules/commands/unsentvip.js +16 -0
- package/modules/commands/uptime.js +141 -0
- package/modules/commands/uptime2.js +151 -0
- package/modules/commands/uptime3.js +151 -0
- package/modules/commands/user.js +278 -0
- package/modules/commands/vanilla.json +38 -0
- package/modules/commands/video.js +2 -0
- package/modules/commands/videov2.js +124 -0
- package/modules/commands/virgin.js +25 -0
- package/modules/commands/vtuber.js +109 -0
- package/modules/commands/vtuberWiki.js +164 -0
- package/modules/commands/wall/MTOJamai.ttf +0 -0
- package/modules/commands/wanted.json +32 -0
- package/modules/commands/war.js +54 -0
- package/modules/commands/warning.js +88 -0
- package/modules/commands/wasted.json +56 -0
- package/modules/commands/weather.js +50 -0
- package/modules/commands/wednesday.js +26 -0
- package/modules/commands/wiki.js +37 -0
- package/modules/commands/wom.js +26 -0
- package/modules/commands/work.js +93 -0
- package/modules/commands/xavier.js +75 -0
- package/modules/commands/xvideo.js +1 -0
- package/modules/commands/yaoi.json +31 -0
- package/modules/commands/yes.js +74 -0
- package/modules/commands/yuri.json +34 -0
- package/modules/commands/zackv.js +105 -0
- package/modules/commands/zalgo.js +16 -0
- package/modules/commands/zerotwo.js +52 -0
- package/modules/commands/zuck.js +77 -0
- package/modules/commands/zz.js +43 -0
- package/modules/commands/zzz.js +50 -0
- package/modules/commands/zzzz.js +48 -0
- package/modules/commands/zzzzz.js +116 -0
- package/modules/events/antijoin.js +25 -0
- package/modules/events/antiout.js +22 -0
- package/modules/events/antirobbery.js +43 -0
- package/modules/events/antist.js +216 -0
- package/modules/events/autosent.js +27 -0
- package/modules/events/autosetname.js +28 -0
- package/modules/events/cache/1689024290268.jpg +0 -0
- package/modules/events/cache/1689024291948.jpg +0 -0
- package/modules/events/cache/1689338091241.jpg +0 -0
- package/modules/events/cache/1689338091358.jpg +0 -0
- package/modules/events/cache/1689338161936.jpg +0 -0
- package/modules/events/cache/1689338162061.jpg +0 -0
- package/modules/events/cache/1689782720063.jpg +0 -0
- package/modules/events/cache/1696308600074.jpg +0 -0
- package/modules/events/cache/1696330171870.jpg +0 -0
- package/modules/events/cache/1696432181920.jpg +0 -0
- package/modules/events/cache/1696489190436.jpg +0 -0
- package/modules/events/cache/1696529399872.jpg +0 -0
- package/modules/events/cache/1696585758189.jpg +0 -0
- package/modules/events/cache/1696595392125.jpg +0 -0
- package/modules/events/cache/1696675929706.jpg +0 -0
- package/modules/events/cache/1696773555786.jpg +0 -0
- package/modules/events/cache/1697903362006.jpg +0 -0
- package/modules/events/cache/1697967586121.jpg +0 -0
- package/modules/events/cache/1698479390255.jpg +0 -0
- package/modules/events/cache/1698479678850.jpg +0 -0
- package/modules/events/cache/1698484313383.jpg +0 -0
- package/modules/events/cache/1698493158950.jpg +0 -0
- package/modules/events/cache/1700485758929.jpg +0 -0
- package/modules/events/cache/1701466775429.jpg +0 -0
- package/modules/events/cache/1701466776229.jpg +0 -0
- package/modules/events/cache/1701467351100.jpg +0 -0
- package/modules/events/cache/1701502759299.jpg +0 -0
- package/modules/events/cache/1701502759797.jpg +0 -0
- package/modules/events/cache/1703741413729.jpg +0 -0
- package/modules/events/cache/1703741413899.jpg +0 -0
- package/modules/events/cache/1703745121246.jpg +0 -0
- package/modules/events/cache/1703745121366.jpg +0 -0
- package/modules/events/cache/1703968162735.jpg +0 -0
- package/modules/events/cache/1703968162770.jpg +0 -0
- package/modules/events/cache/1704008949591.jpg +0 -0
- package/modules/events/cache/1704008949769.jpg +0 -0
- package/modules/events/cache/1704028197166.jpg +0 -0
- package/modules/events/cache/1704028197470.jpg +0 -0
- package/modules/events/cache/1704184158582.jpg +0 -0
- package/modules/events/cache/1704184158811.jpg +0 -0
- package/modules/events/cache/CourierNewPS-BoldMT.ttf +0 -0
- package/modules/events/cache/avt.png +0 -0
- package/modules/events/cache/avtuserrd.png +0 -0
- package/modules/events/cache/joinGif/randomgif/join.png +0 -0
- package/modules/events/cache/joinGif/randomgif/join2.gif +0 -0
- package/modules/events/cache/joinGif/randomgif/welc.gif +0 -0
- package/modules/events/cache/joinMp4/hello.gif +0 -0
- package/modules/events/cache/joinnoti.png +0 -0
- package/modules/events/emoji.json +1 -0
- package/modules/events/join.js +4 -0
- package/modules/events/joinNoti.js +82 -0
- package/modules/events/leave.js +34 -0
- package/modules/events/log.js +106 -0
- package/package.json +121 -0
- package/utils/index.html +519 -0
- package/utils/index.js +159 -0
- package/utils/log.js +29 -0
- package/werewolfConfig.js +229 -0
@@ -0,0 +1,85 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "setallbox",
|
3
|
+
version: "1.0.9",
|
4
|
+
hasPermssion: 1,
|
5
|
+
credits: "๐๐ซ๐ข๐ฒ๐๐ง๐ฌ๐ก ๐๐๐ฃ๐ฉ๐ฎ๐ญ",
|
6
|
+
description: "Change something of group",
|
7
|
+
commandCategory: "box",
|
8
|
+
usages: "set [emoji/avt/Bname/name/QTV/rcolor] [args]",
|
9
|
+
cooldowns: 5,
|
10
|
+
dependencies: {"request":"",
|
11
|
+
"fs-extra":""},
|
12
|
+
};
|
13
|
+
|
14
|
+
module.exports.run = async function({ api, event, args, Threads }) {
|
15
|
+
const request = require("request");
|
16
|
+
const fs = require("fs-extra");
|
17
|
+
if (args[0] == "emoji") {
|
18
|
+
if (!args[1]) {
|
19
|
+
var emoji = "๐,๐,๐,๐,๐,๐
,๐,๐คฃ,๐,๐,๐,๐,๐,๐,๐,๐ฅฐ,๐,๐,๐,๐,๐,๐,๐,๐,๐คช,๐คจ,๐ง,๐ค,๐,๐คฉ,๐ฅณ,๐,๐,๐,๐,๐,๐,๐,โน๏ธ,๐ฃ,๐,๐ซ,๐ฉ,๐ฅบ,๐ข,๐ญ,๐ค,๐ ,๐ก,๐คฌ,๐คฏ,๐ณ,๐ฅต,๐ฅถ,๐ฑ,๐จ,๐ฐ,๐ฅ,๐,๐ค,๐ค,๐คญ,๐คซ,๐คฅ,๐ถ,๐,๐,๐ฌ,๐,๐ฏ,๐ฆ,๐ง,๐ฎ,๐ฒ,๐ฅฑ,๐ด,๐คค,๐ช,๐ต,๐ค,๐ฅด,๐คข,๐คฎ,๐คง,๐ท,๐ค,๐ค,๐ค ,๐ค,๐,๐ฟ,๐น,๐,๐บ,๐ป,๐คก,๐ฉ,โ ๏ธ,๐ฝ,๐พ,๐ค,๐,๐บ,๐ธ,๐น,๐ป,๐ผ,๐ฝ,๐,๐ฟ,๐พ,๐คฒ,๐,๐,๐,๐ค,๐,๐,๐,โ,๐ค,๐ค,โ๏ธ,๐ค,๐ค,๐,๐ค,๐,๐,๐,๐,โ๏ธ,โ,๐ค,๐๏ธ,๐,๐,๐ค,๐ช,๐,โ๏ธ,๐,๐ฆพ,๐ฆฟ,๐ฆถ,๐ฆต,๐,๐,๐,๐ฆท,๐
,๐,๐ฆป,๐,๐ฃ,๐๏ธ,๐,๐ง ,๐ฃ๏ธ,๐ค,๐ฅ,๐ถ,๐ง,๐ง,๐ฆ,๐ฉ,๐ง,๐จ,๐ฉโ๐ฆฑ,๐จโ๐ฆฑ,๐ฉโ๐ฆฐ,๐จโ๐ฆฐ,๐ฑโโ๏ธ,๐ฑโโ๏ธ,๐ฉโ๐ฆณ,๐จโ๐ฆณ,๐ฉโ๐ฆฒ,๐จโ๐ฆฒ,๐ง,๐ต,๐ง,๐ด,๐ฒ,๐ณโโ๏ธ,๐ณโโ๏ธ,๐ง,๐ฎโโ๏ธ,๐ฎโโ๏ธ,๐ทโโ๏ธ,๐ทโโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐ต๏ธโโ๏ธ,๐ต๏ธโโ๏ธ,๐ฉโโ๏ธ,๐จโโ๏ธ,๐ฉโ๐พ,๐จโ๐พ,๐ฉโ๐ณ,๐จโ๐ณ,๐ฉโ๐,๐จโ๐,๐ฉโ๐ค,๐จโ๐ค,๐ฉโ๐ซ,๐จโ๐ซ,๐ฉโ๐ญ,๐จโ๐ญ,๐ฉโ๐ป,๐จโ๐ป,๐ฉโ๐ผ,๐จโ๐ผ,๐ฉโ๐ง,๐จโ๐ง,๐ฉโ๐ฌ,๐จโ๐ฌ,๐ฉโ๐จ,๐จโ๐จ,๐ฉโ๐,๐จโ๐,๐ฉโโ๏ธ,๐จโโ๏ธ,๐ฉโ๐,๐จโ๐,๐ฉโโ๏ธ,๐จโโ๏ธ,๐ฐ,๐คต,๐ธ,๐คด,๐ฆธโโ๏ธ,๐ฆธโโ๏ธ,๐ฆนโโ๏ธ,๐ฆนโโ๏ธ,๐คถ,๐
,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐ผ,๐คฐ,๐คฑ,๐โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐
โโ๏ธ,๐
โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐คฆโโ๏ธ,๐คฆโโ๏ธ,๐คทโโ๏ธ,๐คทโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐
,๐คณ,๐,๐บ,๐ฏโโ๏ธ,๐ฏโโ๏ธ,๐ด๏ธ,๐ถโโ๏ธ,๐ถโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐ฉโ๐ฆฏ,๐จโ๐ฆฏ,๐ฉโ๐ฆผ,๐จโ๐ฆผ,๐ฉโ๐ฆฝ,๐โโ๏ธ,๐โโ๏ธ,๐ซ,๐ญ,๐ฌ,๐,๐ฉโโค๏ธโ๐ฉ,๐จโโค๏ธโ๐จ,๐,๐ฉโโค๏ธโ๐โ๐ฉ,๐จโโค๏ธโ๐โ๐จ,๐จโ๐ฉโ๐ฆ,๐จโ๐ฉโ๐ง,๐จโ๐ฉโ๐งโ๐ฆ,๐จโ๐ฉโ๐ฆโ๐ฆ,๐จโ๐ฉโ๐งโ๐จโ๐ฉโ๐งโ๐ง,๐ฉโ๐ฉโ๐ฆ,๐ฉโ๐ฉโ๐ง,๐ฉโ๐ฉโ๐งโ๐ฆ,๐ฉโ๐ฉโ๐ฆโ๐ฆ,๐ฉโ๐ฉโ๐งโ๐ง,๐จโ๐จโ๐ฆ,๐จโ๐จโ๐ง,๐จโ๐จโ๐งโ๐ฆ,๐จโ๐จโ๐ฆโ๐ฆ,๐จโ๐จโ๐งโ๐ง,๐ฉโ๐ฆ,๐ฉโ๐ง,๐ฉโ๐งโ๐ฆ,๐ฉโ๐ฆโ๐ฆ,๐ฉโ๐งโ๐ง,๐จโ๐ฆ,๐จโ๐ง,๐จโ๐งโ๐ฆ,๐จโ๐ฆโ๐ฆ,๐จโ๐งโ๐ง,๐งถ,๐งต,๐งฅ,๐ฅผ,๐,๐,๐,๐,๐,๐ฉฑ,๐,๐ฉณ,๐ฉฒ,๐,๐,๐ฆบ,๐ฅฟ,๐ ,๐ก,๐ข,๐ฉฐ,๐,๐,๐ฅพ,๐งฆ,๐งค,๐งฃ,๐ฉ,๐งข,๐,๐,โ๏ธ,๐,๐,๐,๐,๐,๐ผ,๐,๐งณ,๐,๐ถ๏ธ,๐,๐ฅฝ,๐ถ,๐ฑ,๐ญ,๐น,๐ฐ,๐ฆ,๐ป,๐ผ,๐จ,๐ฏ,๐ฆ,๐ฎ,๐ท,๐ฝ,๐ฝ,๐ธ,๐ต,๐,๐,๐,๐,๐,๐ง,๐ฆ,๐ค,๐ฃ,๐ฅ,๐ฆ,๐ฆ
,๐ฆ,๐ฆ,๐บ,๐,๐ด,๐ฆ,๐,๐,๐ฆ,๐,๐,๐,๐ฆ,๐ฆ,๐ท๏ธ,๐ธ๏ธ,๐ฆ,๐ข,๐,๐ฆ,๐ฆ,๐ฆ,๐,๐ฆ,๐ฆ,๐ฆ,๐ฆ,๐ฆช,๐ก,๐ ,๐,๐ฌ,๐ณ,๐,๐ฆ,๐,๐
,๐,๐ฆ,๐ฆ,๐ฆง,๐ฆฅ,๐,๐ฆ,๐ฆ,๐ช,๐ซ,๐ฆ,๐ฆ,๐,๐,๐,๐,๐,๐,๐,๐ฆ,๐,๐ฆ,๐,๐ฆฎ,๐โ๐ฆบ,๐ฉ,๐,๐,๐ฆ,๐ฆ,๐ฆ,๐ฆฉ,๐ฆข,๐๏ธ,๐,๐ฆ,๐ฆจ,๐ฆก,๐ฆฆ,๐,๐,๐ฟ๏ธ,๐ฆ,๐พ,๐,๐ฒ,๐ต,๐,๐ฒ,๐ณ,๐ด,๐ฑ,๐ฟ,โ๏ธ,๐,๐,๐,๐,๐,๐,๐,๐,๐พ,๐,๐ท,๐น,๐ฅ,๐บ,๐ธ,๐ผ,๐ป,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐ช,๐ซ,โญ,๐,โจ,โก,โ๏ธ,๐ฅ,๐ฅ,๐ช๏ธ,๐,โ๏ธ,๐ค๏ธ,โ
,๐ฅ๏ธ,โ๏ธ,๐ฆ๏ธ,๐ง๏ธ,โ๏ธ,๐ฉ๏ธ,๐จ๏ธ,โ๏ธ,โ๏ธ,โ,๐ฌ๏ธ,๐จ,๐ง,๐ฆ,โ,โ๏ธ,๐,๐ซ๏ธ,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐ฅญ,๐,๐ฅฅ,๐ฅ,๐
,๐,๐ฅ,๐ฅฆ,๐ฅฌ,๐ฅ,๐ถ๏ธ,๐ฝ,๐ฅ,๐ฅ,๐ง
,๐ง,๐ ,๐ฅ,๐ฅฏ,๐,๐ฅ,๐ฅจ,๐ง,๐ง,๐ฅ,๐ณ,๐ฅ,๐ง,๐ฅ,๐ฅฉ,๐,๐,๐ฆด,๐ญ,๐,๐,๐,๐ฅช,๐ง,๐ฅ,๐ฎ,๐ฏ,๐ฅ,๐ฅ,๐ฅซ,๐,๐,๐ฒ,๐,๐ฃ,๐ฑ,๐ฅ,๐ค,๐,๐,๐,๐ฅ,๐ฅ ,๐ฅฎ,๐ข,๐ก,๐ง,๐จ,๐ฆ,๐ฅง,๐ง,๐ฐ,๐,๐ฎ,๐ญ,๐ฌ,๐ซ,๐ฟ,๐ฉ,๐ช,๐ฐ,๐ฅ,๐ฏ,๐ฅ,๐ผ,โ,๐ต,๐ง,๐ฅค,๐ง,๐ถ,๐บ,๐ป,๐ฅ,๐ท,๐ฅ,๐ธ,๐น,๐พ,๐ง,๐ฅ,๐ด,๐ฅก,๐ฅก,๐ฅข,๐ง,โฝ,๐,๐,โพ,๐ฅ,๐พ,๐,๐,๐ฅ,๐ฑ,๐,๐ธ,๐,๐,๐ฅ,๐,๐ฅ
,โณ,๐น,๐ฃ,๐คฟ,๐ฅ,๐ฅ,๐ฝ,๐น,๐ท,โธ๏ธ,๐ฅ,๐ฟ,โท๏ธ,๐,๐๏ธโโ๏ธ,๐๏ธโโ๏ธ,๐คผโโ๏ธ,๐คผโโ๏ธ,๐คธโโ๏ธ,๐คธโโ๏ธ,โน๏ธโโ๏ธ,โน๏ธโโ๏ธ,๐คบ,๐คพโโ๏ธ,๐คพโโ๏ธ,๐๏ธโโ๏ธ,๐๏ธโโ๏ธ,๐,๐งโโ๏ธ,๐งโโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐โโ๏ธ,๐คฝโโ๏ธ,๐คฝโโ๏ธ,๐ฃโโ๏ธ,๐ฃโโ๏ธ,๐งโโ๏ธ,๐งโโ๏ธ,๐ตโโ๏ธ,๐ตโโ๏ธ,๐ดโโ๏ธ,๐ดโโ๏ธ,๐,๐ฅ,๐ฅ,๐ฅ,๐
,๐๏ธ,๐ต๏ธ,๐๏ธ,๐ซ,๐๏ธ,๐ช,๐คนโโ๏ธ,๐คนโโ๏ธ,๐ญ,๐จ,๐ฌ,๐ค,๐ง,๐ผ,๐น,๐ฅ,๐ท,๐บ,๐ธ,๐ช,๐ป,๐ฒ,โ๏ธ,๐ช,๐ฏ,๐ณ,๐ฎ,๐ฐ,๐ช,๐งฉ,๐,๐,๐,๐,๐,๐๏ธ,๐,๐,๐,๐,๐,๐,๐,๐ด,๐ฆฝ,๐ฆผ,๐ฒ,๐ต,๐บ,๐๏ธ,๐จ,๐,๐,๐,๐,๐ก,๐ ,๐,๐,๐,๐,๐,๐,๐
,๐,๐,๐,๐,๐,๐,โ๏ธ,๐ซ,๐ฌ,๐ฉ๏ธ,๐บ,๐ช,๐ฐ๏ธ,๐,๐ธ,๐,๐ถ,โต,๐ค,๐ฅ๏ธ,๐ณ๏ธ,โด๏ธ,๐ข,โ,โฝ,๐ง,๐ฆ,๐ฅ,๐,๐บ๏ธ,๐ฟ,๐ฝ,๐ผ,๐ฐ,๐ฏ,๐๏ธ,๐ก,๐ข,๐ ,โฒ,โฑ๏ธ,๐๏ธ,๐๏ธ,๐๏ธ,๐,โฐ๏ธ,๐๏ธ,๐ป,๐๏ธ,โบ,๐ ,๐ก,๐๏ธ,๐๏ธ,๐๏ธ,๐ข,๐ญ,๐ฌ,๐ฃ,๐ค,๐ฅ,๐ฆ,๐จ,๐ช,๐ซ,๐ฉ,๐,๐๏ธ,โช,๐,๐,๐,๐,โฉ๏ธ,๐ค๏ธ,๐ฃ๏ธ,๐พ,๐,๐๏ธ,๐
,๐,๐ ,๐,๐,๐,๐,๐๏ธ,๐,๐,๐,๐,โ,๐ฑ,๐ฒ,๐ป,โจ๏ธ,๐ฅ๏ธ,๐จ๏ธ,๐ฑ๏ธ,๐ฒ๏ธ,๐น๏ธ,๐๏ธ,๐ฝ,๐พ,๐ฟ,๐,๐ผ,๐ท,๐ธ,๐น,๐ฅ,๐ฝ๏ธ,๐๏ธ,๐,โ๏ธ,๐,๐ ,๐บ,๐ป,๐๏ธ,๐๏ธ,๐๏ธ,๐งญ,โฑ๏ธ,โฒ๏ธ,โฐ,๐ฐ๏ธ,โ,โณ,๐ก,๐,๐,๐ก,๐ฆ,๐ฏ๏ธ,๐ช,๐งฏ,๐ข๏ธ,๐ธ,๐ต,๐ด,๐ถ,๐ท,๐ฐ,๐ณ,๐,โ๏ธ,๐ฆฏ,๐งฐ,๐ง,๐จ,โ๏ธ,๐ ๏ธ,โ๏ธ,๐ช,๐ฉ,โ๏ธ,๐งฑ,โ๏ธ,๐งฒ,๐ซ,๐ฃ,๐งจ,๐ช,๐ก๏ธ,โ๏ธ,๐ก๏ธ,๐ฌ,โฐ๏ธ,โฑ๏ธ,๐บ,๐ฎ,๐ฟ,๐งฟ,๐,โ๏ธ,๐ญ,๐ฌ,๐ณ๏ธ,๐ฉน,๐,๐ฉธ,๐,๐ฉบ,๐งฌ,๐ฆ ,๐งซ,๐งช,๐ก๏ธ,๐งน,๐งบ,๐งป,๐ฝ,๐ฐ,๐ฟ,๐,๐,๐งผ,๐งฝ,๐ช,๐งด,๐๏ธ,๐,๐๏ธ,๐ช,๐ช,๐๏ธ,๐๏ธ,๐,๐งธ,๐ผ๏ธ,๐๏ธ,๐,๐,๐,๐,๐,๐ฉ,๐จ,๐ง,๐,๐ฅ,๐ค,๐ฆ,๐,โ๏ธ,๐,๐งง,๐,๐,๐ฎ,๐ท๏ธ,๐ช,๐ซ,๐ฌ,๐ญ,๐ฎ,๐ฏ,๐,๐,๐,๐,๐งพ,๐,๐,๐,๐๏ธ,๐๏ธ,๐,๐
,๐๏ธ,๐,๐๏ธ,๐ณ๏ธ,๐๏ธ,๐,๐,๐๏ธ,๐,๐๏ธ,๐ฐ,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐งท,๐,๐,๐๏ธ,๐,๐,๐งฎ,๐,๐,โ๏ธ,๐๏ธ,๐๏ธ,โ๏ธ,๐๏ธ,๐๏ธ,๐,โ๏ธ,๐,๐,๐,๐,๐,๐,โค๏ธ,๐งก,๐,๐,๐,๐,๐ค,๐ค,๐ค,๐,โฃ๏ธ,๐,๐,๐,๐,๐,๐,๐,๐,โฎ๏ธ,โ๏ธ,โช๏ธ,๐๏ธ,โธ๏ธ,โก๏ธ,๐ฏ,๐,โฏ๏ธ,โฆ๏ธ,๐,โ,โ,โ,โ,โ,โ,โ,โ,โ,โ,โ,โ,โ,๐,โ๏ธ,๐,โข๏ธ,โฃ๏ธ,๐ด,๐ณ,๐ถ,๐,๐ธ,๐บ,๐ท๏ธ,โด๏ธ,๐,๐ฎ,๐,ใ๏ธ,ใ๏ธ,๐ด,๐ต,๐น,๐ฒ,๐
ฐ๏ธ,๐
ฑ๏ธ,๐,๐,๐
พ๏ธ,๐,โ,โญ,๐,โ,๐,๐ซ,๐ฏ,๐ข,โจ๏ธ,๐ท,๐ณ,๐ฑ,๐,๐ต,๐ญ,โ,โ,โ,โ,โผ๏ธ,โ๏ธ,๐
,๐,ใฝ๏ธ,โ ๏ธ,๐ธ,๐ฑ,โ๏ธ,๐ฐ,โป๏ธ,โ
,๐ฏ,๐น,โ๏ธ,โณ๏ธ,โ,๐,๐ ,โ๏ธ,๐,๐ค,๐ง,๐พ,โฟ,๐
ฟ๏ธ,๐ณ,๐๏ธ,๐,๐,๐,๐
,๐น,๐บ,๐ผ,๐ป,๐ฎ,๐ฆ,๐ถ,๐,๐ฃ,โน๏ธ,๐ค,๐ก,๐ ,๐,๐,๐,๐,๐,๐,0๏ธโฃ,1๏ธโฃ,2๏ธโฃ,3๏ธโฃ,4๏ธโฃ,5๏ธโฃ,6๏ธโฃ,7๏ธโฃ,8๏ธโฃ,9๏ธโฃ,๐,๐ข,#๏ธโฃ,*๏ธโฃ,โ๏ธ,โถ๏ธ,โธ๏ธ,โบ๏ธ,โญ๏ธ,โฎ๏ธ,โฉ,โช,โซ,โฌ,โ๏ธ,๐ผ,๐ฝ,โก๏ธ,โฌ
๏ธ,โฌ๏ธ,โฌ๏ธ,โ๏ธ,โ๏ธ,โ๏ธ,โ๏ธ,โ๏ธ,โช๏ธ,โช๏ธ,โฉ๏ธ,โคด๏ธ,โคต๏ธ,๐,๐,๐,๐,๐,โ๏ธ,๐ต,๐ถ,\โ,โ,โ๏ธ,โ,โพ๏ธ,๐ฒ,๐๏ธโ๐จ๏ธ,๐ฑ,ยฎ๏ธ,โข๏ธ,ยฉ๏ธ,๐,โฐ,๐,ใฐ๏ธ,๐,๐,๐,โฟ,โ๏ธ,โ๏ธ,๐,โช,โซ,๐ด,๐ ,๐ก,๐ข,๐ต,๐ฃ,๐ค,๐บ,๐ป,๐ธ,๐น,๐ถ,๐ท,๐ณ,๐ฒ,โช๏ธ,โซ๏ธ,โพ,โฝ,โผ๏ธ,โป๏ธ,โฌ,โฌ,๐ฅ,๐ง,๐จ,๐ฉ,๐ช,๐ฆ,๐ซ,๐,๐,๐,๐,๐,๐,๐ฃ,๐ข,๐ฌ,๐ญ,๐ฏ๏ธ,โ ๏ธ,โฃ๏ธ,โฅ๏ธ,โฆ๏ธ,๐,๐ด,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐,๐ ,๐ก,๐ฆ,๐ข,๐ฅ,๐ค,๐ฃ,๐ง".split(",");
|
20
|
+
var random = emoji[Math.floor(Math.random() * emoji.length)];
|
21
|
+
api.changeThreadEmoji(`${random}`, event.threadID)
|
22
|
+
return;
|
23
|
+
} else try {
|
24
|
+
api.changeThreadEmoji(args[1], event.threadID)
|
25
|
+
} catch (e) {
|
26
|
+
api.sendMessage(`${e.name}: ${e.message}`, event.threadID, event.messageID);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
if (args[0] == "Bname") {
|
31
|
+
var name = args.slice(1,args.length).join(" ");
|
32
|
+
api.setTitle(`${name}`, event.threadID)
|
33
|
+
}
|
34
|
+
|
35
|
+
if (args[0] == "rcolor") {
|
36
|
+
var color = ['196241301102133','169463077092846','2442142322678320', '234137870477637', '980963458735625','175615189761153','2136751179887052', '2058653964378557','2129984390566328','174636906462322','1928399724138152','417639218648241','930060997172551','164535220883264','370940413392601','205488546921017','809305022860427'];
|
37
|
+
return api.changeThreadColor(color[Math.floor(Math.random() * color.length)], event.threadID, (err) => {
|
38
|
+
if (err) return api.sendMessage('There was an unwanted error that happened', event.threadID, event.messageID)});
|
39
|
+
}
|
40
|
+
|
41
|
+
if (args[0] == "name") {
|
42
|
+
const name = args.slice(1,args.length).join(" ");
|
43
|
+
const mention = Object.keys(event.mentions)[0];
|
44
|
+
if (!mention) return api.changeNickname(`${name}`, event.threadID, event.senderID);
|
45
|
+
if (mention[0]) return api.changeNickname(`${name.replace(event.mentions[mention], "")}`, event.threadID, mention);
|
46
|
+
}
|
47
|
+
|
48
|
+
if (args[0] == "avt") {
|
49
|
+
if (event.type != "message_reply") return api.sendMessage("Please reply 1 photo",event.threadID,event.messageID);
|
50
|
+
(event.messageReply.attachments[0] != "") ? (event.messageReply.attachments[0].type == "photo") ? request(event.messageReply.attachments[0].url).pipe(fs.createWriteStream(__dirname + `/cache/picture.png`)).on("close",()=> api.changeGroupImage(fs.createReadStream(__dirname + `/cache/picture.png`),event.threadID, () => fs.unlinkSync(__dirname + `/cache/picture.png`))) : api.sendMessage("Seriously considered, what would you reply?",event.threadID,event.messageID) : ""
|
51
|
+
}
|
52
|
+
|
53
|
+
if (args[0] == "poll") {
|
54
|
+
var content = args.join(" ");
|
55
|
+
var title = content.slice(4, content.indexOf(" => "));
|
56
|
+
var options = content.substring(content.indexOf(" => ") + 4)
|
57
|
+
var option = options.split(" | ");
|
58
|
+
var object = {};
|
59
|
+
if (option.length == 1 && option[0].includes(' |')) option[0] = option[0].replace(' |', '');
|
60
|
+
for (var i = 0; i < option.length; i++) object[option[i]] = false;
|
61
|
+
return api.createPoll(title, event.threadID, object, (err) => (err) ? api.sendMessage("There are errors that occur, use the Poll under Format [<Name of Panquet> => <comments 1> | <comments n + 1>]", event.threadID, event.messageID) : '');
|
62
|
+
}
|
63
|
+
|
64
|
+
if (args[0] == "QTV") {
|
65
|
+
try {
|
66
|
+
const mention = Object.keys(event.mentions)[0];
|
67
|
+
if (!mention) {
|
68
|
+
var data = (event.type == "message_reply") ? event.messageReply.senderID : args[1];
|
69
|
+
const threadAdmins = await Threads.getInfo(event.threadID);
|
70
|
+
const find_ = threadAdmins.adminIDs.find(el => el.id== event.senderID);
|
71
|
+
const find = threadAdmins.adminIDs.find(el => el.id == data);
|
72
|
+
(!find_) ? api.sendMessage("You are not an administrator",event.threadID,event.messageID) : (!find) ? api.changeAdminStatus(event.threadID,data,true) : api.changeAdminStatus(event.threadID,data,false);
|
73
|
+
}
|
74
|
+
else {
|
75
|
+
const threadAdmins = await Threads.getInfo(event.threadID);
|
76
|
+
const find_ = threadAdmins.adminIDs.find(el => el.id == event.senderID);
|
77
|
+
const find = threadAdmins.adminIDs.find(el => el.id == mention);
|
78
|
+
(!find_) ? api.sendMessage("You are not an administrator",event.threadID,event.messageID) : (!find) ? api.changeAdminStatus(event.threadID,mention,true) : api.changeAdminStatus(event.threadID,mention,false);
|
79
|
+
}
|
80
|
+
}
|
81
|
+
catch (e) {
|
82
|
+
return api.sendMessage("There are errors that happen!",event.threadID,event.messageID);
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "altar",
|
3
|
+
version: "1.0.2",
|
4
|
+
hasPermssion: 0,
|
5
|
+
credits: "๐๐ซ๐ข๐ฒ๐๐ง๐ฌ๐ก ๐๐๐ฃ๐ฉ๐ฎ๐ญ",
|
6
|
+
description: "altar [mentioned]",
|
7
|
+
commandCategory: "edit-image",
|
8
|
+
usages: "[@tag]",
|
9
|
+
cooldowns: 5,
|
10
|
+
dependencies: {
|
11
|
+
"fs-extra": "",
|
12
|
+
"axios": "",
|
13
|
+
"canvas" :"",
|
14
|
+
"jimp": "",
|
15
|
+
"node-superfetch": ""
|
16
|
+
}
|
17
|
+
};
|
18
|
+
|
19
|
+
module.exports.circle = async (image) => {
|
20
|
+
const jimp = global.nodemodule['jimp'];
|
21
|
+
image = await jimp.read(image);
|
22
|
+
image.circle();
|
23
|
+
return await image.getBufferAsync("image/png");
|
24
|
+
};
|
25
|
+
|
26
|
+
module.exports.run = async ({ event, api, args, Users }) => {
|
27
|
+
try {
|
28
|
+
const Canvas = global.nodemodule['canvas'];
|
29
|
+
const request = global.nodemodule["node-superfetch"];
|
30
|
+
const jimp = global.nodemodule["jimp"];
|
31
|
+
const fs = global.nodemodule["fs-extra"];
|
32
|
+
var path_toilet = __dirname+'/cache/bantho.png';
|
33
|
+
var id = Object.keys(event.mentions)[0] || event.senderID;
|
34
|
+
const canvas = Canvas.createCanvas(960, 634);
|
35
|
+
const ctx = canvas.getContext('2d');
|
36
|
+
const background = await Canvas.loadImage('https://i.imgur.com/brK0Hbb.jpg');
|
37
|
+
|
38
|
+
var avatar = await request.get(`https://graph.facebook.com/${id}/picture?width=512&height=512&access_token=6628568379%7Cc1e620fa708a1d5696fb991c1bde5662`);
|
39
|
+
avatar = await this.circle(avatar.body);
|
40
|
+
ctx.drawImage(background, 0, 0, canvas.width, canvas.height);
|
41
|
+
ctx.drawImage(await Canvas.loadImage(avatar), 353, 158, 205, 205);
|
42
|
+
const imageBuffer = canvas.toBuffer();
|
43
|
+
fs.writeFileSync(path_toilet,imageBuffer);
|
44
|
+
api.sendMessage({attachment: fs.createReadStream(path_toilet, {'highWaterMark': 128 * 1024}), body: "Hey, how are you? :))"}, event.threadID, () => fs.unlinkSync(path_toilet), event.messageID);
|
45
|
+
}
|
46
|
+
catch(e) {api.sendMessage(e.stack, event.threadID )}
|
47
|
+
}
|
48
|
+
// Text by DMH - do not clear this line & forget me !
|
49
|
+
|
50
|
+
//////// // ///////// // //////// /////////
|
51
|
+
// // // // // // // //
|
52
|
+
// /// // // // // //// //
|
53
|
+
//////// // ///////// // // /// /////////
|
54
|
+
// // // ////////// /// //
|
55
|
+
// // // // // // //
|
56
|
+
// ///////// ///////// // // //////// /////////
|
@@ -0,0 +1,26 @@
|
|
1
|
+
const fs = require("fs");
|
2
|
+
module.exports.config = {
|
3
|
+
name: "sus",
|
4
|
+
version: "1.0.1",
|
5
|
+
hasPermssion: 0,
|
6
|
+
credits: "๐๐ซ๐ข๐ฒ๐๐ง๐ฌ๐ก ๐๐๐ฃ๐ฉ๐ฎ๐ญ",
|
7
|
+
description: "hihihihi",
|
8
|
+
commandCategory: "no prefix",
|
9
|
+
usages: "sus",
|
10
|
+
cooldowns: 5,
|
11
|
+
};
|
12
|
+
|
13
|
+
module.exports.handleEvent = function({ api, event, client, __GLOBAL }) {
|
14
|
+
var { threadID, messageID } = event;
|
15
|
+
if (event.body.indexOf("amogus")==0 || event.body.indexOf("Amogus")==0 || event.body.indexOf("sus")==0 || event.body.indexOf("Sus")==0) {
|
16
|
+
var msg = {
|
17
|
+
body: "เถ",
|
18
|
+
attachment: fs.createReadStream(__dirname + `/noprefix/sus.mp3`)
|
19
|
+
}
|
20
|
+
api.sendMessage(msg, threadID, messageID);
|
21
|
+
api.setMessageReaction("๐ฑ", event.messageID, (err) => {}, true)
|
22
|
+
}
|
23
|
+
}
|
24
|
+
module.exports.run = function({ api, event, client, __GLOBAL }) {
|
25
|
+
|
26
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "anifact",
|
3
|
+
version: "1.0.0",
|
4
|
+
hasPermision: 0,
|
5
|
+
credit: "๐๐ซ๐ข๐ฒ๐๐ง๐ฌ๐ก ๐๐๐ฃ๐ฉ๐ฎ๐ญ",
|
6
|
+
description: "random animal fact",
|
7
|
+
commandCategory: "random-img",
|
8
|
+
cooldowns: 0,
|
9
|
+
};
|
10
|
+
|
11
|
+
module.exports.run = async function({api, event, args, utils, Users, Threads}) {
|
12
|
+
try {
|
13
|
+
let axios = require('axios');
|
14
|
+
let fs = require("fs-extra");
|
15
|
+
let request = require("request");
|
16
|
+
var juswa = ['dog', 'cat', 'panda', 'fox', 'koala', 'bird', 'raccoon', 'kangaroo', 'red_panda'];
|
17
|
+
var juswa1 = juswa[Math.floor(Math.random() * juswa.length)];
|
18
|
+
let {threadID, senderID, messageID} = event;
|
19
|
+
const res = await axios.get(`https://some-random-api.ml/animal/${juswa1}`);
|
20
|
+
console.log(res.data);
|
21
|
+
var data = res.data;
|
22
|
+
let callback = function() {
|
23
|
+
return api.sendMessage({
|
24
|
+
body:`Facts about ${juswa1}: ${data.fact}`,
|
25
|
+
attachment: fs.createReadStream(__dirname + `/cache/image.png`)
|
26
|
+
}, event.threadID, () => fs.unlinkSync(__dirname + `/cache/image.png`), event.messageID);
|
27
|
+
};
|
28
|
+
return request(encodeURI(data.image)).pipe(fs.createWriteStream(__dirname + `/cache/image.png`)).on("close", callback);
|
29
|
+
} catch (err) {
|
30
|
+
console.log(err)
|
31
|
+
return api.sendMessage(`Error`, event.threadID)
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "ear",
|
3
|
+
version: "1.0.0",
|
4
|
+
hasPermssion: 0,
|
5
|
+
credits: "๐๐ซ๐ข๐ฒ๐๐ง๐ฌ๐ก ๐๐๐ฃ๐ฉ๐ฎ๐ญ",
|
6
|
+
description: "Animal Ear Waifu",
|
7
|
+
commandCategory: "nsfw",
|
8
|
+
usages: "ear",
|
9
|
+
cooldowns: 5
|
10
|
+
};
|
11
|
+
|
12
|
+
module.exports.run = async ({ api, event }) => {
|
13
|
+
const axios = require('axios');
|
14
|
+
const request = require('request');
|
15
|
+
const fs = require("fs");
|
16
|
+
axios.get('https://RandomLinkAPI-1.ekekevan.repl.co/getlink4').then(res => {
|
17
|
+
// let ext = res.data.url.substring(res.data.url.lastIndexOf(".") + 1);
|
18
|
+
let callback = function () {
|
19
|
+
api.sendMessage({
|
20
|
+
body: `Anime Girl w/Animal Ear`,
|
21
|
+
attachment: fs.createReadStream(__dirname + `/cache/anear.png`)
|
22
|
+
}, event.threadID, () => fs.unlinkSync(__dirname + `/cache/anear.pmg`), event.messageID);
|
23
|
+
};
|
24
|
+
request(res.data.url).pipe(fs.createWriteStream(__dirname + `/cache/anear.png`)).on("close", callback);
|
25
|
+
})
|
26
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "imganime",
|
3
|
+
version: "1.0.0",
|
4
|
+
hasPermssion: 0,
|
5
|
+
credits: "๐๐ซ๐ข๐ฒ๐๐ง๐ฌ๐ก ๐๐๐ฃ๐ฉ๐ฎ๐ญ",
|
6
|
+
description: "Random แบฃnh anime",
|
7
|
+
commandCategory: "Random-IMG",
|
8
|
+
usages: "imganime",
|
9
|
+
cooldowns: 5
|
10
|
+
};
|
11
|
+
|
12
|
+
module.exports.run = async ({ api, event }) => {
|
13
|
+
const axios = require('axios');
|
14
|
+
const request = require('request');
|
15
|
+
const fs = require("fs");
|
16
|
+
axios.get('https://anime.ocvat2810.repl.co/').then(res => {
|
17
|
+
let ext = res.data.data.substring(res.data.data.lastIndexOf(".") + 1);
|
18
|
+
let callback = function () {
|
19
|
+
api.sendMessage({
|
20
|
+
attachment: fs.createReadStream(__dirname + `/cache/shiba.${ext}`)
|
21
|
+
}, event.threadID, () => fs.unlinkSync(__dirname + `/cache/shiba.${ext}`), event.messageID);
|
22
|
+
};
|
23
|
+
request(res.data.data).pipe(fs.createWriteStream(__dirname + `/cache/shiba.${ext}`)).on("close", callback);
|
24
|
+
})
|
25
|
+
}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
var configCommand = {
|
2
|
+
name: 'autodownurl',
|
3
|
+
version: '1.1.1',
|
4
|
+
hasPermssion: 1,
|
5
|
+
credits: 'DC-South',
|
6
|
+
description: 'Automatically download when link detected',
|
7
|
+
commandCategory: 'Utilities',
|
8
|
+
usages: '[]',
|
9
|
+
cooldowns: 3
|
10
|
+
},
|
11
|
+
axios = require('axios'),
|
12
|
+
downloader = require('image-downloader'),
|
13
|
+
fse = require('fs-extra'),
|
14
|
+
toolsFb = require('tools-fb'),
|
15
|
+
path = __dirname+'/cache/statusAuto.json';
|
16
|
+
|
17
|
+
async function streamURL(url, mime) {
|
18
|
+
const dest = `${__dirname}/cache/${Date.now()}.${mime}`;
|
19
|
+
await downloader.image({
|
20
|
+
url, dest
|
21
|
+
});
|
22
|
+
setTimeout(j=>fse.unlinkSync(j), 60*1000, dest);
|
23
|
+
return fse.createReadStream(dest);
|
24
|
+
};
|
25
|
+
|
26
|
+
function onLoad() {
|
27
|
+
if (!fse.existsSync(path)) fse.writeFileSync(path, '{}');
|
28
|
+
};
|
29
|
+
|
30
|
+
async function noprefix(arg) {
|
31
|
+
const s = JSON.parse(fse.readFileSync(path));
|
32
|
+
if (arg.event.senderID == (global.botID || arg.api.getCurrentUserID())) return;
|
33
|
+
if ((typeof s[arg.event.threadID] == 'boolean' && !s[arg.event.threadID])) return;
|
34
|
+
|
35
|
+
const out = (a, b, c, d) => arg.api.sendMessage(a, b?b: arg.event.threadID, c?c: null, d?d: arg.event.messageID),
|
36
|
+
arr = arg.event.args,
|
37
|
+
regEx_tiktok = /(^https:\/\/)((vm|vt|www|v)\.)?(tiktok|douyin)\.com\//,
|
38
|
+
regEx_youtube = /(^https:\/\/)((www)\.)?(youtube|youtu)(PP)*\.(com|be)\//,
|
39
|
+
regEx_facebook = /(^https:\/\/)(\w+\.)?(facebook|fb)\.(com|watch)\/\w+\/\w?(\/)?/,
|
40
|
+
regEx_instagram = /^\u0068\u0074\u0074\u0070\u0073\u003a\/\/(www\.)?instagram\.com\/(reel|p)\/\w+\/\w*/
|
41
|
+
|
42
|
+
for (const el of arr) {
|
43
|
+
/* Tแปฐ ฤแปNG TแบขI VIDEO TIKTOK */
|
44
|
+
if (regEx_tiktok.test(el)) {
|
45
|
+
const data = (await axios.post(`https://www.tikwm.com/api/`, {
|
46
|
+
url: el
|
47
|
+
})).data.data;
|
48
|
+
out({
|
49
|
+
body: `====== [ ๐๐๐๐๐๐ ] ======\nโโโโโโโโโโโโโโ\n\n๐ฌ ๐ง๐ถ๐๐น๐ฒ: ${data.title}\nโค๏ธ ๐๐ฬ๐ผฬฬฃ๐ ๐๐ถ๐บ: ${data.digg_count}\n๐ญ ๐ง๐ผฬฬ๐ป๐ด ๐ฏ๐ถฬ๐ป๐ต ๐น๐๐ฎฬฃฬ๐ป: ${data.comment_count}\n๐ ๐๐ฬ๐ผฬฬฃ๐ ๐ฐ๐ต๐ถ๐ฎ ๐๐ฒฬ: ${data.share_count}\n๐ฅ ๐๐ฬ๐ผฬฬฃ๐ ๐๐ฎฬ๐ถ: ${data.download_count}\n\n๐ธ ๐๐ต๐ฬฬ๐ฐ ๐ป๐ฎฬ๐ป๐ด ๐ฎ๐๐๐ผ๐ฑ๐ผ๐๐ป ๐ธ๐ต๐ถ ๐ป๐ต๐ฎฬฃฬ๐ป ๐น๐ถ๐ป๐ธ ๐๐ฟ๐ผ๐ป๐ด ๐ป๐ต๐ผฬ๐บ\n\n๐ ๐ง๐ต๐ฎฬ ๐ฐ๐ฎฬ๐บ ๐
๐ฬ๐ฐ "๐" ๐ป๐ฒฬฬ๐ ๐บ๐๐ผฬฬ๐ป ๐๐ฎฬ๐ถ ๐ป๐ต๐ฎฬฃ๐ฐ`, attachment: await streamURL(data.play, 'mp4')}, '', (err, dataMsg) => global.client.handleReaction.push({
|
50
|
+
name: 'autodownurl', messageID: dataMsg.messageID, url_audio: data.music
|
51
|
+
})); // Video khรดng logo thรฌ sแปญa "wmplay" -> "play";
|
52
|
+
};
|
53
|
+
/* END */
|
54
|
+
|
55
|
+
/* Tแปฐ DแปNG TแบขI VIDEO YOUTUBE */
|
56
|
+
if (regEx_youtube.test(el)) {
|
57
|
+
const data = (await axios.get(`https://api.nambsls.repl.co/youtube/downloader?url=${el}`)).data.data,
|
58
|
+
info = (a, b) => `====== [ ๐๐๐๐๐๐๐ ] ======\nโโโโโโโโโโโโโโ\n\n๐ฌ ๐ง๐ถ๐๐น๐ฒ: ${a.title}\nโฑ ๐ง๐ต๐ผฬฬ๐ถ ๐ด๐ถ๐ฎ๐ป: ${a.duration}\n\n๐ธ ๐๐ต๐ฬฬ๐ฐ ๐ป๐ฎฬ๐ป๐ด ๐ฎ๐๐๐ผ๐ฑ๐ผ๐๐ป ๐ธ๐ต๐ถ ๐ป๐ต๐ฎฬฃฬ๐ป ๐น๐ถ๐ป๐ธ ๐๐ฟ๐ผ๐ป๐ด ๐ป๐ต๐ผฬ๐บ`;
|
59
|
+
if (data.video.size < 26214400)out({
|
60
|
+
body: (info(data, data.video.size))+'\n\n๐ ๐ง๐ต๐ฎฬ ๐ฐ๐ฎฬ๐บ ๐
๐ฬ๐ฐ "๐" ๐ป๐ฒฬฬ๐ ๐บ๐๐ผฬฬ๐ป ๐๐ฎฬ๐ถ ๐ป๐ต๐ฎฬฃ๐ฐ'+`\n`, attachment: await streamURL(data.video.url, 'mp4')}, '', (err, datMsg) => global.client.handleReaction.push({
|
61
|
+
name: 'autodownurl', messageID: datMsg.messageID, url_audio: data.video.url
|
62
|
+
})); else if (data.music.size < 26214400)out({
|
63
|
+
body: (info(data))+`\n`, attachment: await streamURL(data.video.url, 'mp3')});
|
64
|
+
};
|
65
|
+
/* END */
|
66
|
+
|
67
|
+
/* Tแปฐ ฤแปNG TแบขI VIDEO FACEBOOK */
|
68
|
+
if (el.includes('facebook.com/story.php') || regEx_facebook.test(el)) out({
|
69
|
+
body: '====== [ ๐๐๐๐๐ ๐
๐ ] ======\nโโโโโโโโโโโโโโ\n\n๐ธ ๐๐ต๐ฬฬ๐ฐ ๐ป๐ฎฬ๐ป๐ด ๐ฎ๐๐๐ผ๐ฑ๐ผ๐๐ป ๐ธ๐ต๐ถ ๐ป๐ต๐ฎฬฃฬ๐ป ๐น๐ถ๐ป๐ธ ๐๐ฟ๐ผ๐ป๐ด ๐ป๐ต๐ผฬ๐บ\n๐ ๐ง๐ต๐ฎฬ ๐ฐ๐ฎฬ๐บ ๐
๐ฬ๐ฐ "๐" ๐ป๐ฒฬฬ๐ ๐บ๐๐ผฬฬ๐ป ๐๐ฎฬ๐ถ ๐ป๐ต๐ฎฬฃ๐ฐ', attachment: await streamURL(((fdl = await toolsFb.getVideoUrl(el)), fdl.HD), 'mp4')}, '', (err, dataMsg) => global.client.handleReaction.push({
|
70
|
+
name: 'autodownurl', messageID: dataMsg.messageID, url_audio: fdl.audio
|
71
|
+
}));
|
72
|
+
/* END */
|
73
|
+
|
74
|
+
if (regEx_instagram.test(el))out({
|
75
|
+
body: '=== [ ๐๐๐๐๐๐๐๐๐ ] ===\nโโโโโโโโโโโโ\n\n๐ธ ๐๐ต๐ฬฬ๐ฐ ๐ป๐ฎฬ๐ป๐ด ๐ฎ๐๐๐ผ๐ฑ๐ผ๐๐ป ๐ธ๐ต๐ถ ๐ป๐ต๐ฎฬฃฬ๐ป ๐น๐ถ๐ป๐ธ ๐๐ฟ๐ผ๐ป๐ด ๐ป๐ต๐ผฬ๐บ\n๐ ๐ง๐ต๐ฎฬ ๐ฐ๐ฎฬ๐บ ๐
๐ฬ๐ฐ "๐" ๐ป๐ฒฬฬ๐ ๐บ๐๐ผฬฬ๐ป ๐๐ฎฬ๐ถ ๐ป๐ต๐ฎฬฃ๐ฐ', attachment: await streamURL((idl = (await axios.get(`https://apiuwuapi.ducdz999.repl.co/instagram/downloadpost?url=${el}`)).data, idl[((irx = /\/p\//.test(el))?'display': 'video')+'_url']), irx?'jpg': 'mp4')});
|
76
|
+
};
|
77
|
+
};
|
78
|
+
async function reactionMsg(arg) {
|
79
|
+
if(arg.event.reaction == '๐') // code
|
80
|
+
{
|
81
|
+
const out = (a, b, c, d) => arg.api.sendMessage(a, b?b: arg.event.threadID, c?c: null, d),
|
82
|
+
_ = arg.handleReaction;
|
83
|
+
if ('url_audio'in _) out({
|
84
|
+
body: `====== [ ๐๐๐๐๐ ] ======\nโโโโโโโโโโโโโโ\n\n๐ ๐๐ฎฬฬ๐ ๐ฎฬ๐บ ๐๐ต๐ฎ๐ป๐ต ๐๐ฬฬ ๐๐ถ๐ฑ๐ฒ๐ผ ๐๐ต๐ฎฬ๐ป๐ต ๐ฐ๐ผฬ๐ป๐ด `, attachment: await streamURL(_.url_audio, 'mp3')}, '', '', _.messageID);
|
85
|
+
}
|
86
|
+
};
|
87
|
+
function runCommand(arg) {
|
88
|
+
const out = (a, b, c, d) => arg.api.sendMessage(a, b?b: arg.event.threadID, c?c: null, d?d: arg.event.messageID);
|
89
|
+
const data = JSON.parse(fse.readFileSync(path));
|
90
|
+
s = data[arg.event.threadID] = typeof data[arg.event.threadID] != 'boolean'||!!data[arg.event.threadID]?false: true;
|
91
|
+
fse.writeFileSync(path, JSON.stringify(data, 0, 4));
|
92
|
+
out((s?'[ ๐๐จ๐ง๐ข ๐๐ข๐ช๐ก๐๐ข๐๐ ] - Activation enabled successfully': '[ ๐๐จ๐ง๐ข ๐๐ข๐ช๐ก๐๐ข๐๐ ] - Successful shutdown')+' '+configCommand.name+' โ
');
|
93
|
+
};
|
94
|
+
|
95
|
+
module.exports = {
|
96
|
+
config: configCommand,
|
97
|
+
onLoad,
|
98
|
+
run: runCommand,
|
99
|
+
handleEvent: noprefix,
|
100
|
+
handleReaction: reactionMsg
|
101
|
+
};
|
@@ -0,0 +1,237 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "antichange",
|
3
|
+
version: "1.0.0",
|
4
|
+
credits: "๐๐ง๐๐ฎ๐๐ฃ๐จ๐ ๐๐๐๐ฅ๐ช๐ฉ",
|
5
|
+
hasPermssion: 2,
|
6
|
+
description: "antichange settings",
|
7
|
+
usages: "My owner know how to use it",
|
8
|
+
cooldowns: 2,
|
9
|
+
commandCategory: "Box chat",
|
10
|
+
dependencies: {
|
11
|
+
"imgbb-uploader": "",
|
12
|
+
"axios": "",
|
13
|
+
"fs": ""
|
14
|
+
}
|
15
|
+
};
|
16
|
+
|
17
|
+
const isBoolean = val => 'boolean' === typeof val;
|
18
|
+
|
19
|
+
module.exports.run = async ({
|
20
|
+
api, event, args, Threads
|
21
|
+
}) => {
|
22
|
+
try {
|
23
|
+
const {
|
24
|
+
threadID,
|
25
|
+
messageID,
|
26
|
+
senderID
|
27
|
+
} = event;
|
28
|
+
if (!await global.modelAntiSt.findOne({
|
29
|
+
where: {
|
30
|
+
threadID
|
31
|
+
}
|
32
|
+
}))
|
33
|
+
await global.modelAntiSt.create({
|
34
|
+
threadID, data: {}
|
35
|
+
});
|
36
|
+
|
37
|
+
|
38
|
+
try {
|
39
|
+
if (senderID == threadID)
|
40
|
+
return;
|
41
|
+
const data = (await global.modelAntiSt.findOne({
|
42
|
+
where: {
|
43
|
+
threadID
|
44
|
+
}
|
45
|
+
})).data;
|
46
|
+
if (!data.hasOwnProperty("antist")) {
|
47
|
+
data.antist = {};
|
48
|
+
await global.modelAntiSt.findOneAndUpdate({
|
49
|
+
threadID
|
50
|
+
}, {
|
51
|
+
data
|
52
|
+
});
|
53
|
+
}
|
54
|
+
if (!data.hasOwnProperty("antist_info")) {
|
55
|
+
data.antist_info = {};
|
56
|
+
await global.modelAntiSt.findOneAndUpdate({
|
57
|
+
threadID
|
58
|
+
}, {
|
59
|
+
data
|
60
|
+
});
|
61
|
+
}
|
62
|
+
|
63
|
+
const setting = args[0]?.toLowerCase();
|
64
|
+
const _switch = args[1]?.toLowerCase();
|
65
|
+
switch (setting) {
|
66
|
+
case 'nickname': {
|
67
|
+
if (_switch == "on")
|
68
|
+
data.antist.nickname = true;
|
69
|
+
else if (_switch == "off")
|
70
|
+
data.antist.nickname = false;
|
71
|
+
else
|
72
|
+
data.antist.nickname = !data.antist.nickname;
|
73
|
+
|
74
|
+
if (data.antist.nickname === true) {
|
75
|
+
const _info = data.antist_info.nicknames ? data.antist_info : (await api.getThreadInfo(threadID) || {});
|
76
|
+
const {
|
77
|
+
nicknames
|
78
|
+
} = _info;
|
79
|
+
if (!nicknames) return api.sendMessage("[ ๐ ๐ข๐๐ ] -> Kuch to problem hai Boss edhar", threadID);
|
80
|
+
data.antist_info.nicknames = nicknames;
|
81
|
+
} else {
|
82
|
+
data.antist_info.nicknames = null;
|
83
|
+
}
|
84
|
+
break;
|
85
|
+
}
|
86
|
+
case 'boximage': {
|
87
|
+
if (_switch == "on")
|
88
|
+
data.antist.boximage = true;
|
89
|
+
else if (_switch == "off")
|
90
|
+
data.antist.boximage = false;
|
91
|
+
else
|
92
|
+
data.antist.boximage = !(isBoolean(data.antist.boximage) ? data.antist.boximage : false);
|
93
|
+
|
94
|
+
if (data.antist.boximage == true) {
|
95
|
+
const fs = global.nodemodule["fs"];
|
96
|
+
const axios = global.nodemodule["axios"];
|
97
|
+
const uploadIMG = global.nodemodule["imgbb-uploader"];
|
98
|
+
|
99
|
+
const _info = data.antist_info.imageSrc ? data.antist_info : (await api.getThreadInfo(threadID) || {});
|
100
|
+
const {
|
101
|
+
imageSrc
|
102
|
+
} = _info;
|
103
|
+
if (!imageSrc) return api.sendMessage("Pahle group ki dp to lagao.....", threadID);
|
104
|
+
const imageStream = (await axios.get(imageSrc, {
|
105
|
+
responseType: 'arraybuffer'
|
106
|
+
})).data;
|
107
|
+
const pathToImage = __dirname + `/cache/imgbb_antist_${Date.now()}.png`;
|
108
|
+
fs.writeFileSync(pathToImage, Buffer.from(imageStream, 'utf-8'));
|
109
|
+
const {
|
110
|
+
url
|
111
|
+
} = await uploadIMG("c4847250684c798013f3c7ee322d8692", pathToImage);
|
112
|
+
|
113
|
+
fs.unlinkSync(pathToImage);
|
114
|
+
|
115
|
+
data.antist_info.imageSrc = url;
|
116
|
+
} else {
|
117
|
+
data.antist_info.imageSrc = null;
|
118
|
+
}
|
119
|
+
|
120
|
+
break;
|
121
|
+
}
|
122
|
+
case 'boxname': {
|
123
|
+
if (_switch == "on")
|
124
|
+
data.antist.boxname = true;
|
125
|
+
else if (_switch == "off")
|
126
|
+
data.antist.boxname = false;
|
127
|
+
else
|
128
|
+
data.antist.boxname = !(isBoolean(data.antist.boxname) ? data.antist.boxname : false);
|
129
|
+
|
130
|
+
|
131
|
+
if (data.antist.boxname === true) {
|
132
|
+
const _info = data.antist_info.name ? data.antist_info : (await api.getThreadInfo(threadID) || {});
|
133
|
+
const {
|
134
|
+
name
|
135
|
+
} = _info;
|
136
|
+
if (!name) return api.sendMessage("Group ka name to rakho pahle", threadID);
|
137
|
+
data.antist_info.name = name;
|
138
|
+
} else {
|
139
|
+
data.antist_info.name = null;
|
140
|
+
}
|
141
|
+
|
142
|
+
break;
|
143
|
+
}
|
144
|
+
case "theme": {
|
145
|
+
if (_switch == "on")
|
146
|
+
data.antist.theme = true;
|
147
|
+
else if (_switch == "off")
|
148
|
+
data.antist.theme = false;
|
149
|
+
else
|
150
|
+
data.antist.theme = !(isBoolean(data.antist.theme) ? data.antist.theme : false);
|
151
|
+
|
152
|
+
if (!global.client.antistTheme)
|
153
|
+
global.client.antistTheme = {};
|
154
|
+
if (data.antist.theme === true)
|
155
|
+
return api.sendMessage('Group setting me jake default theme select karo ', threadID, (err, info) => {
|
156
|
+
global.client.antistTheme[threadID] = {
|
157
|
+
threadID,
|
158
|
+
messageID: info.messageID,
|
159
|
+
author: senderID,
|
160
|
+
run: async function (themeID, accessibility_label) {
|
161
|
+
delete global.client.antistTheme[threadID];
|
162
|
+
const data = (await global.modelAntiSt.findOne({
|
163
|
+
where: {
|
164
|
+
threadID
|
165
|
+
}
|
166
|
+
})).data;
|
167
|
+
if (!data.hasOwnProperty("antist")) {
|
168
|
+
data.antist = {};
|
169
|
+
await global.modelAntiSt.findOneAndUpdate({
|
170
|
+
threadID
|
171
|
+
}, {
|
172
|
+
data
|
173
|
+
});
|
174
|
+
}
|
175
|
+
if (!data.hasOwnProperty("antist_info")) {
|
176
|
+
data.antist_info = {};
|
177
|
+
await global.modelAntiSt.findOneAndUpdate({
|
178
|
+
threadID
|
179
|
+
}, {
|
180
|
+
data
|
181
|
+
});
|
182
|
+
}
|
183
|
+
|
184
|
+
data.antist.theme = true;
|
185
|
+
data.antist_info.themeID = themeID;
|
186
|
+
api.sendMessage('Saved default theme as: ' + accessibility_label, threadID);
|
187
|
+
await global.modelAntiSt.findOneAndUpdate({
|
188
|
+
threadID
|
189
|
+
}, {
|
190
|
+
data
|
191
|
+
});
|
192
|
+
}
|
193
|
+
};
|
194
|
+
});
|
195
|
+
break;
|
196
|
+
}
|
197
|
+
case "emoji": {
|
198
|
+
if (_switch == "on")
|
199
|
+
data.antist.emoji = true;
|
200
|
+
else if (_switch == "off")
|
201
|
+
data.antist.emoji = false;
|
202
|
+
else
|
203
|
+
data.antist.emoji = !(isBoolean(data.antist.emoji) ? data.antist.emoji : false);
|
204
|
+
|
205
|
+
|
206
|
+
if (data.antist.emoji === true) {
|
207
|
+
const _info = data.antist_info.emoji ? data.antist_info : (await api.getThreadInfo(threadID) || {});
|
208
|
+
const {
|
209
|
+
emoji
|
210
|
+
} = _info;
|
211
|
+
data.antist_info.emoji = emoji;
|
212
|
+
} else {
|
213
|
+
data.antist_info.emoji = null;
|
214
|
+
}
|
215
|
+
|
216
|
+
break;
|
217
|
+
}
|
218
|
+
|
219
|
+
default:
|
220
|
+
return api.sendMessage(`๐๐ก๐ฒ ๐ฒ๐จ๐ฎ ๐ ๐ข๐ฏ๐ ๐ญ๐ก๐ข๐ฌ ๐๐จ๐ฆ๐ฆ๐๐ง๐ ๐ญ๐จ ๐ฆ๐\n๐๐จ๐ฎ ๐๐จ๐ง'๐ญ ๐ก๐๐ฏ๐ ๐ฉ๐๐ซ๐ฆ๐ข๐ฌ๐ฌ๐ข๐จ๐ง ๐ญ๐จ ๐ฎ๐ฌ๐ ๐ข๐ญ\n๐๐ก๐ข๐ฌ ๐๐จ๐ฆ๐ฆ๐๐ง๐ ๐ฆ๐๐ง๐๐ ๐๐ ๐๐ฒ ๐๐ซ๐ข๐ฒ๐๐ง๐ฌ๐ก ๐ค`, threadID);
|
221
|
+
}
|
222
|
+
|
223
|
+
await global.modelAntiSt.findOneAndUpdate({
|
224
|
+
threadID
|
225
|
+
}, {
|
226
|
+
data
|
227
|
+
});
|
228
|
+
return api.sendMessage(`[ ๐ ๐ข๐๐ ] -> Antichange mode ${setting}: ${data.antist[setting] ? 'Turn on' : 'Turn off'}`, threadID);
|
229
|
+
} catch (e) {
|
230
|
+
console.log(e);
|
231
|
+
api.sendMessage("[ ๐ ๐ข๐๐ ] -> Kuch to problem hai Boss edhar", threadID);
|
232
|
+
}
|
233
|
+
}
|
234
|
+
catch (err) {
|
235
|
+
console.log(err)
|
236
|
+
}
|
237
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "antijoin",
|
3
|
+
version: "1.0.0",
|
4
|
+
credits: "๐๐ซ๐ข๐ฒ๐๐ง๐ฌ๐ก ๐๐๐ฃ๐ฉ๐ฎ๐ญ",
|
5
|
+
hasPermssion: 1,
|
6
|
+
description: "Turn off antiout",
|
7
|
+
usages: "antiout on/off",
|
8
|
+
commandCategory: "system",
|
9
|
+
cooldowns: 0
|
10
|
+
};
|
11
|
+
|
12
|
+
module.exports.run = async({ api, event, Threads}) => {
|
13
|
+
const info = await api.getThreadInfo(event.threadID);
|
14
|
+
if (!info.adminIDs.some(item => item.id == api.getCurrentUserID()))
|
15
|
+
return api.sendMessage('[ ๐๐๐๐ ๐๐๐๐ ] ยป ๐ก๐ฒ๐ฒ๐ฑ ๐ด๐ฟ๐ผ๐๐ฝ ๐ฎ๐ฑ๐บ๐ถ๐ป ๐ฝ๐ฒ๐ฟ๐บ๐ถ๐๐๐ถ๐ผ๐ป๐, ๐ฝ๐น๐ฒ๐ฎ๐๐ฒ ๐ฎ๐ฑ๐ฑ ๐ฎ๐ป๐ฑ ๐๐ฟ๐ ๐ฎ๐ด๐ฎ๐ถ๐ป', event.threadID, event.messageID);
|
16
|
+
const data = (await Threads.getData(event.threadID)).data || {};
|
17
|
+
if (typeof data.newMember == "undefined" || data.newMember == false) data.newMember = true;
|
18
|
+
else data.newMember = false;
|
19
|
+
await Threads.setData(event.threadID, { data });
|
20
|
+
global.data.threadData.set(parseInt(event.threadID), data);
|
21
|
+
return api.sendMessage(`[ ๐๐๐๐ ๐๐๐๐ ] ยป ๐๐บ๐ฝ๐น๐ฒ๐บ๐ฒ๐ป๐ ${(data.newMember == true) ? "๐ข๐ป" : "๐ข๐ณ๐ณ"} ๐ฆ๐๐ฐ๐ฐ๐ฒ๐๐๐ณ๐๐น ๐๐ป๐๐ถ ๐๐ผ๐ถ๐ป โ
`, event.threadID, event.messageID);
|
22
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "antiout",
|
3
|
+
version: "1.0.0",
|
4
|
+
credits: "๐๐ซ๐ข๐ฒ๐๐ง๐ฌ๐ก ๐๐๐ฃ๐ฉ๐ฎ๐ญ",
|
5
|
+
hasPermssion: 1,
|
6
|
+
description: "Turn off antiout",
|
7
|
+
usages: "antiout on/off",
|
8
|
+
commandCategory: "system",
|
9
|
+
cooldowns: 0
|
10
|
+
};
|
11
|
+
|
12
|
+
module.exports.run = async({ api, event, Threads}) => {
|
13
|
+
let data = (await Threads.getData(event.threadID)).data || {};
|
14
|
+
if (typeof data["antiout"] == "undefined" || data["antiout"] == false) data["antiout"] = true;
|
15
|
+
else data["antiout"] = false;
|
16
|
+
|
17
|
+
await Threads.setData(event.threadID, { data });
|
18
|
+
global.data.threadData.set(parseInt(event.threadID), data);
|
19
|
+
|
20
|
+
return api.sendMessage(`๐๐ผ๐ป๐ฒ โ๏ธ ${(data["antiout"] == true) ? "๐ข๐ป" : "๐ข๐ณ๐ณ"} ๐ฆ๐๐ฐ๐ฐ๐ฒ๐๐ณ๐๐น๐น ๐๐ป๐๐ถ๐ผ๐๐ ๐๐ฌ โ
`, event.threadID);
|
21
|
+
|
22
|
+
}
|