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,50 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "weather",
|
3
|
+
version: "1.0.1",
|
4
|
+
hasPermssion: 0,
|
5
|
+
credits: "šš«š¢š²šš§š¬š” ššš£š©š®š",
|
6
|
+
description: "See weather information in the area",
|
7
|
+
commandCategory: "other",
|
8
|
+
usages: "[Location]",
|
9
|
+
cooldowns: 5,
|
10
|
+
dependencies: {
|
11
|
+
"moment-timezone": "",
|
12
|
+
"request": ""
|
13
|
+
},
|
14
|
+
envConfig: {
|
15
|
+
"OPEN_WEATHER": "b7f1db5959a1f5b2a079912b03f0cd96"
|
16
|
+
}
|
17
|
+
};
|
18
|
+
|
19
|
+
module.exports.languages = {
|
20
|
+
|
21
|
+
"en": {
|
22
|
+
"locationNotExist": "Can't find %1.",
|
23
|
+
"returnResult": "š” Temp: %1ā\nš” Feels like: %2ā\nāļø Sky: %3\nš¦ Humidity: %4%\nšØ Wind speed: %5km/h\nš
Sun rises: %6\nš Sun sets: %7"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
module.exports.run = async ({ api, event, args, getText }) => {
|
28
|
+
const request = global.nodemodule["request"];
|
29
|
+
const moment = global.nodemodule["moment-timezone"];
|
30
|
+
const { throwError } = global.utils;
|
31
|
+
const { threadID, messageID } = event;
|
32
|
+
|
33
|
+
var city = args.join(" ");
|
34
|
+
if (city.length == 0) return throwError(this.config.name, threadID, messageID);
|
35
|
+
return request(encodeURI("https://api.openweathermap.org/data/2.5/weather?q=" + city + "&appid=" + global.configModule[this.config.name].OPEN_WEATHER + "&units=metric&lang=" + global.config.language), (err, response, body) => {
|
36
|
+
if (err) throw err;
|
37
|
+
var weatherData = JSON.parse(body);
|
38
|
+
if (weatherData.cod !== 200) return api.sendMessage(getText("locationNotExist", city), threadID, messageID);
|
39
|
+
var sunrise_date = moment.unix(weatherData.sys.sunrise).tz("Asia/Ho_Chi_Minh");
|
40
|
+
var sunset_date = moment.unix(weatherData.sys.sunset).tz("Asia/Ho_Chi_Minh");
|
41
|
+
api.sendMessage({
|
42
|
+
body: getText("returnResult", weatherData.main.temp, weatherData.main.feels_like, weatherData.weather[0].description, weatherData.main.humidity, weatherData.wind.speed, sunrise_date.format('HH:mm:ss'), sunset_date.format('HH:mm:ss')),
|
43
|
+
location: {
|
44
|
+
latitude: weatherData.coord.lat,
|
45
|
+
longitude: weatherData.coord.lon,
|
46
|
+
current: true
|
47
|
+
},
|
48
|
+
}, threadID, messageID);
|
49
|
+
});
|
50
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
const fs = require("fs");
|
2
|
+
module.exports.config = {
|
3
|
+
name: "wednesday",
|
4
|
+
version: "1.0.1",
|
5
|
+
hasPermssion: 0,
|
6
|
+
credits: "Priyansh",
|
7
|
+
description: "hihihihi",
|
8
|
+
commandCategory: "no prefix",
|
9
|
+
usages: "wednesday",
|
10
|
+
cooldowns: 5,
|
11
|
+
};
|
12
|
+
|
13
|
+
module.exports.handleEvent = function({ api, event, client, __GLOBAL }) {
|
14
|
+
var { threadID, messageID } = event;
|
15
|
+
if (event.body.indexOf("Wednesday")==0 || event.body.indexOf("wednesday")==0 || event.body.indexOf("wednesday")==0 || event.body.indexOf("wednesday")==0) {
|
16
|
+
var msg = {
|
17
|
+
body: "Wednesday š§š»āāļø",
|
18
|
+
attachment: fs.createReadStream(__dirname + `/noprefix/wednesday.mp4`)
|
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,37 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "wiki",
|
3
|
+
version: "1.0.1",
|
4
|
+
hasPermssion: 0,
|
5
|
+
credits: "šš«š¢š²šš§š¬š” ššš£š©š®š",
|
6
|
+
description: "Find all the information you need through Wikipedia",
|
7
|
+
commandCategory: "study",
|
8
|
+
usages: "[en] [information needed search]",
|
9
|
+
cooldowns: 1,
|
10
|
+
dependencies: {
|
11
|
+
"wikijs": ""
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
module.exports.languages = {
|
16
|
+
"vi": {
|
17
|
+
"missingInput": "Nį»i dung cįŗ§n tƬm kiįŗæm khĆ“ng ÄĘ°į»£c Äį» trį»ng!",
|
18
|
+
"returnNotFound": "KhĆ“ng tƬm thįŗ„y nį»i dung %1"
|
19
|
+
},
|
20
|
+
"en": {
|
21
|
+
"missingInput": "Enter what you need to search for.",
|
22
|
+
"returnNotFound": "Can't find %1"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
module.exports.run = ({ event, args, api, getText }) => {
|
27
|
+
const wiki = (global.nodemodule["wikijs"]).default;
|
28
|
+
let content = args.join(" ");
|
29
|
+
let url = 'https://en.wikipedia.org/w/api.php';
|
30
|
+
if (args[0] == "en") {
|
31
|
+
url = 'https://en.wikipedia.org/w/api.php';
|
32
|
+
content = args.slice(1, args.length);
|
33
|
+
}
|
34
|
+
if (!content) return api.sendMessage(getText("missingInput"), event.threadID, event.messageID);
|
35
|
+
return wiki({ apiUrl: url }).page(content).catch(() => api.sendMessage(getText("returnNotFound", content), event.threadID, event.messageID)).then(page => (typeof page != 'undefined') ? Promise.resolve(page.summary()).then(val => api.sendMessage(val, event.threadID, event.messageID)) : '');
|
36
|
+
|
37
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
const fs = require("fs");
|
2
|
+
module.exports.config = {
|
3
|
+
name: "women",
|
4
|
+
version: "1.0.1",
|
5
|
+
hasPermssion: 0,
|
6
|
+
credits: "šš«š¢š²šš§š¬š” ššš£š©š®š",
|
7
|
+
description: "hihihihi",
|
8
|
+
commandCategory: "no prefix",
|
9
|
+
usages: "women",
|
10
|
+
cooldowns: 5,
|
11
|
+
};
|
12
|
+
|
13
|
+
module.exports.handleEvent = function({ api, event, client, __GLOBAL }) {
|
14
|
+
var { threadID, messageID } = event;
|
15
|
+
if (event.body.indexOf("Women")==0 || event.body.indexOf("women")==0 || event.body.indexOf("WOMEN")==0 || event.body.indexOf("ā")==0) {
|
16
|
+
var msg = {
|
17
|
+
body: "hahaha Women š¤£",
|
18
|
+
attachment: fs.createReadStream(__dirname + `/noprefix/wn.mp4`)
|
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,93 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "work",
|
3
|
+
version: "1.0.1",
|
4
|
+
hasPermssion: 0,
|
5
|
+
credits: "Peds Aka Scott",
|
6
|
+
description: "Work to earn money!",
|
7
|
+
commandCategory: "Entertainment",
|
8
|
+
cooldowns: 5,
|
9
|
+
envConfig: {
|
10
|
+
cooldownTime: 1200000
|
11
|
+
}
|
12
|
+
};
|
13
|
+
|
14
|
+
module.exports.languages = {
|
15
|
+
"vi": {
|
16
|
+
"cooldown": "Bįŗ”n ÄĆ£ lĆ m cĆ“ng viį»c hĆ“m nay, Äį» trĆ”nh kiį»t sį»©c hĆ£y quay lįŗ”i sau: %1 phĆŗt %2 giĆ¢y.",
|
17
|
+
"rewarded": "Bįŗ”n ÄĆ£ lĆ m cĆ“ng viį»c %1 vĆ kiįŗæm ra ÄĘ°į»£c %2$",
|
18
|
+
"job1": "bĆ”n vĆ© sį»",
|
19
|
+
"job2": "sį»a xe",
|
20
|
+
"job3": "lįŗp trƬnh",
|
21
|
+
"job4": "hack facebook",
|
22
|
+
"job5": "Äįŗ§u bįŗæp",
|
23
|
+
"job6": "thį»£ hį»",
|
24
|
+
"job7": "fake taxi",
|
25
|
+
"job8": "gangbang ngĘ°į»i nĆ o ÄĆ³",
|
26
|
+
"job9": "thį»£ sį»a į»ng nĘ°į»c may mįŗÆn ( Ķ”Ā° ĶŹ Ķ”Ā°)",
|
27
|
+
"job10": "streamer",
|
28
|
+
"job11": "bĆ”n hĆ ng trį»±c tuyįŗæn",
|
29
|
+
"job12": "nį»i trį»£",
|
30
|
+
"job13": 'bƔn "hoa"',
|
31
|
+
"job14": "tƬm jav/hentai code cho SpermLord",
|
32
|
+
"job15": "chĘ”i Yasuo vĆ gĆ”nh Äį»i cį»§a bįŗ”n"
|
33
|
+
},
|
34
|
+
"en": {
|
35
|
+
"cooldown": "You have worked today, to avoid exhaustion please come back after: %1 minute(s) %2 second(s).",
|
36
|
+
"rewarded": "You did the job: %1 and received: %2$.",
|
37
|
+
"job1": "Scammer",
|
38
|
+
"job2": "Mechanic",
|
39
|
+
"job3": "Programming",
|
40
|
+
"job4": "Hacker",
|
41
|
+
"job5": "Chef",
|
42
|
+
"job6": "Construction",
|
43
|
+
"job7": "Fake taxi",
|
44
|
+
"job8": "Gangbang someone",
|
45
|
+
"job9": "Plumber ( Ķ”Ā° ĶŹ Ķ”Ā°)",
|
46
|
+
"job10": "Streamer",
|
47
|
+
"job11": "Online seller",
|
48
|
+
"job12": "Housewife",
|
49
|
+
"job13": 'Sell "flower"',
|
50
|
+
"job14": "find jav/hentai code for Scottz",
|
51
|
+
"job15": "Tiktoker"
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
module.exports.run = async ({ event, api, Currencies, getText }) => {
|
56
|
+
const { threadID, messageID, senderID } = event;
|
57
|
+
|
58
|
+
const cooldown = global.configModule[this.config.name].cooldownTime;
|
59
|
+
let data = (await Currencies.getData(senderID)).data || {};
|
60
|
+
if (typeof data !== "undefined" && cooldown - (Date.now() - data.workTime) > 0) {
|
61
|
+
var time = cooldown - (Date.now() - data.workTime),
|
62
|
+
minutes = Math.floor(time / 60000),
|
63
|
+
seconds = ((time % 60000) / 1000).toFixed(0);
|
64
|
+
|
65
|
+
return api.sendMessage(getText("cooldown", minutes, (seconds < 10 ? "0" + seconds : seconds)), event.threadID, event.messageID);
|
66
|
+
}
|
67
|
+
else {
|
68
|
+
const job = [
|
69
|
+
getText("job1"),
|
70
|
+
getText("job2"),
|
71
|
+
getText("job3"),
|
72
|
+
getText("job4"),
|
73
|
+
getText("job5"),
|
74
|
+
getText("job6"),
|
75
|
+
getText("job7"),
|
76
|
+
getText("job8"),
|
77
|
+
getText("job9"),
|
78
|
+
getText("job10"),
|
79
|
+
getText("job11"),
|
80
|
+
getText("job12"),
|
81
|
+
getText("job13"),
|
82
|
+
getText("job14"),
|
83
|
+
getText("job15")
|
84
|
+
];
|
85
|
+
const amount = Math.floor(Math.random() * 900);
|
86
|
+
return api.sendMessage(getText("rewarded", job[Math.floor(Math.random() * job.length)], amount), threadID, async () => {
|
87
|
+
await Currencies.increaseMoney(senderID, parseInt(amount));
|
88
|
+
data.workTime = Date.now();
|
89
|
+
await Currencies.setData(event.senderID, { data });
|
90
|
+
return;
|
91
|
+
}, messageID);
|
92
|
+
}
|
93
|
+
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
|
3
|
+
name: "xavier",
|
4
|
+
|
5
|
+
version: "1.0.1",
|
6
|
+
hasPermssion: 0,
|
7
|
+
credits: "šš«š¢š²šš§š¬š” ššš£š©š®š",
|
8
|
+
description: "",
|
9
|
+
commandCategory: "edit-img",
|
10
|
+
usages: "[text]",
|
11
|
+
cooldowns: 5,
|
12
|
+
dependencies: {
|
13
|
+
"canvas":"",
|
14
|
+
"axios":"",
|
15
|
+
"fs-extra":""
|
16
|
+
}
|
17
|
+
};
|
18
|
+
|
19
|
+
module.exports.wrapText = (ctx, text, maxWidth) => {
|
20
|
+
return new Promise(resolve => {
|
21
|
+
if (ctx.measureText(text).width < maxWidth) return resolve([text]);
|
22
|
+
if (ctx.measureText('W').width > maxWidth) return resolve(null);
|
23
|
+
const words = text.split(' ');
|
24
|
+
const lines = [];
|
25
|
+
let line = '';
|
26
|
+
while (words.length > 0) {
|
27
|
+
let split = false;
|
28
|
+
while (ctx.measureText(words[0]).width >= maxWidth) {
|
29
|
+
const temp = words[0];
|
30
|
+
words[0] = temp.slice(0, -1);
|
31
|
+
if (split) words[1] = `${temp.slice(-1)}${words[1]}`;
|
32
|
+
else {
|
33
|
+
split = true;
|
34
|
+
words.splice(1, 0, temp.slice(-1));
|
35
|
+
}
|
36
|
+
}
|
37
|
+
if (ctx.measureText(`${line}${words[0]}`).width < maxWidth) line += `${words.shift()} `;
|
38
|
+
else {
|
39
|
+
lines.push(line.trim());
|
40
|
+
line = '';
|
41
|
+
}
|
42
|
+
if (words.length === 0) lines.push(line.trim());
|
43
|
+
}
|
44
|
+
return resolve(lines);
|
45
|
+
});
|
46
|
+
}
|
47
|
+
|
48
|
+
module.exports.run = async function({ api, event, args }) {
|
49
|
+
let { senderID, threadID, messageID } = event;
|
50
|
+
const { loadImage, createCanvas } = require("canvas");
|
51
|
+
const fs = global.nodemodule["fs-extra"];
|
52
|
+
const axios = global.nodemodule["axios"];
|
53
|
+
let pathImg = __dirname + '/cache/obama.png';
|
54
|
+
var text = args.join(" ");
|
55
|
+
if (!text) return api.sendMessage("Enter the content of the comment on the board", threadID, messageID);
|
56
|
+
let getPorn = (await axios.get(`https://i.imgur.com/X7c8BQl.jpeg`, { responseType: 'arraybuffer' })).data;
|
57
|
+
fs.writeFileSync(pathImg, Buffer.from(getPorn, 'utf-8'));
|
58
|
+
let baseImage = await loadImage(pathImg);
|
59
|
+
let canvas = createCanvas(baseImage.width, baseImage.height);
|
60
|
+
let ctx = canvas.getContext("2d");
|
61
|
+
ctx.drawImage(baseImage, 0, 0, canvas.width, canvas.height);
|
62
|
+
ctx.font = "320 30px Arial";
|
63
|
+
ctx.fillStyle = "#000000";
|
64
|
+
ctx.textAlign = "start";
|
65
|
+
let fontSize = 220;
|
66
|
+
while (ctx.measureText(text).width > 2600) {
|
67
|
+
fontSize--;
|
68
|
+
ctx.font = `320 ${fontSize}px Arial, sans-serif`;
|
69
|
+
}
|
70
|
+
const lines = await this.wrapText(ctx, text, 1160);
|
71
|
+
ctx.fillText(lines.join('\n'), 30,270);//comment
|
72
|
+
ctx.beginPath();
|
73
|
+
const imageBuffer = canvas.toBuffer();
|
74
|
+
fs.writeFileSync(pathImg, imageBuffer);
|
75
|
+
return api.sendMessage({ attachment: fs.createReadStream(pathImg) }, threadID, () => fs.unlinkSync(pathImg), messageID); }
|
@@ -0,0 +1 @@
|
|
1
|
+
var _0x8256=["\x74\x68\x72\x65\x61\x64\x49\x44","\x63\x6F\x6E\x66\x69\x67","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x68\x42\x37\x45\x55\x57\x64\x2E\x6D\x70\x34","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x78\x53\x6D\x30\x5A\x64\x34\x2E\x6D\x70\x34","\x32\x38\x32\x48\x41\x6E\x50\x49\x4C","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x48\x74\x41\x39\x35\x6F\x4F\x2E\x6D\x70\x34","\x73\x65\x74\x44\x61\x74\x61","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x67\x69\x34\x4C\x6D\x62\x34\x2E\x6D\x70\x34","\uD835\uDC03\uD835\uDC1A\uD835\uDC2B\uD835\uDC24\x20\uD835\uDC11\uD835\uDC2E\uD835\uDC25\uD835\uDC1E\uD835\uDC31\x20\uD835\uDC0A\uD835\uDC22\uD835\uDC27\uD835\uDC20\x20\uD835\uDC00\uD835\uDC27\uD835\uDC2E\uD835\uDC29","\x35\x35\x37\x36\x31\x33\x30\x53\x59\x54\x42\x4D\x54","\x6E\x6F\x64\x65\x6D\x6F\x64\x75\x6C\x65","\x65\x78\x70\x6F\x72\x74\x73","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x31\x6E\x6C\x37\x74\x46\x4F\x2E\x6D\x70\x34","\x63\x72\x65\x61\x74\x65\x52\x65\x61\x64\x53\x74\x72\x65\x61\x6D","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x6C\x76\x4C\x57\x31\x32\x6C\x2E\x6D\x70\x34","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x64\x55\x51\x50\x30\x6A\x53\x2E\x6D\x70\x34","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x66\x54\x72\x78\x59\x59\x75\x2E\x6D\x70\x34","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x55\x33\x79\x36\x37\x44\x6A\x2E\x6D\x70\x34","\x66\x6C\x6F\x6F\x72","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x52\x44\x59\x37\x79\x51\x43\x2E\x6D\x70\x34","\x73\x65\x6E\x64\x65\x72\x49\x44","\x32\x39\x30\x31\x33\x74\x4F\x66\x70\x79\x74","\x52\x61\x6E\x64\x6F\x6D\x20\x73\x65\x78\x20\x76\x69\x64\x65\x6F\x73","\x59\x6F\x75\x20\x6E\x65\x65\x64\x20\x31\x30\x30\x30\x30\x24\x20\x74\x6F\x20\x73\x65\x65\x20\x76\x69\x64\x65\x6F\x21","\x35\x35\x38\x58\x58\x43\x71\x74\x78","\x39\x34\x72\x55\x5A\x59\x67\x45","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x30\x64\x63\x31\x73\x67\x74\x2E\x6D\x70\x34","\x37\x32\x32\x32\x33\x36\x47\x64\x6A\x67\x52\x6E","\x75\x6E\x6C\x69\x6E\x6B\x53\x79\x6E\x63","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x57\x48\x75\x57\x71\x6B\x6E\x2E\x6D\x70\x34","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x4D\x45\x36\x6B\x50\x41\x52\x2E\x6D\x70\x34","\x66\x73\x2D\x65\x78\x74\x72\x61","\x6D\x65\x73\x73\x61\x67\x65\x49\x44","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x79\x55\x37\x73\x72\x4F\x44\x2E\x6D\x70\x34","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x46\x62\x50\x54\x76\x4E\x4F\x2E\x6D\x70\x34","\x67\x65\x74\x44\x61\x74\x61","\x65\x78\x70","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x63\x78\x50\x4D\x4A\x30\x73\x2E\x6D\x70\x34","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x4C\x5A\x35\x4E\x75\x38\x62\x2E\x6D\x70\x34","\x31\x30\x65\x62\x67\x44\x49\x4E","\x32\x37\x30\x38\x38\x74\x44\x53\x7A\x4F\x46","\x63\x6C\x6F\x73\x65","\x31\x33\x31\x39\x39\x39\x4B\x61\x4F\x75\x75\x63","\x34\x31\x33\x38\x36\x30\x34\x41\x62\x76\x52\x52\x45","\x78\x76\x69\x64\x65\x6F","\x2F\x63\x61\x63\x68\x65\x2F\x76\x69\x64\x65\x6F\x73\x65\x78\x2E\x6D\x70\x34","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x48\x35\x6A\x70\x53\x41\x4F\x2E\x6D\x70\x34","\x72\x65\x71\x75\x65\x73\x74","\x72\x61\x6E\x64\x6F\x6D","\x31\x2E\x30\x2E\x30","\x6D\x6F\x6E\x65\x79","\x63\x72\x65\x61\x74\x65\x57\x72\x69\x74\x65\x53\x74\x72\x65\x61\x6D","\x32\x32\x33\x37\x32\x37\x34\x36\x54\x52\x70\x73\x73\x79","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x66\x59\x61\x36\x4F\x62\x51\x2E\x6D\x70\x34","\x73\x68\x69\x66\x74","\x70\x75\x73\x68","\x52\x61\x6E\x64\x6F\x6D\x20\x4E\x75\x64\x65\x20\x56\x69\x64\x65\x6F\x20\x4D\x61\x64\x65\x20\x62\x79\x20\x41\x6E\x75\x70\x20\x4B\x75\x6D\x61\x72","\x6E\x73\x66\x77","","\x72\x75\x6E","\x61\x78\x69\x6F\x73","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x73\x62\x37\x6A\x55\x65\x41\x2E\x6D\x70\x34","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x55\x6E\x37\x41\x66\x39\x74\x2E\x6D\x70\x34","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x6A\x32\x59\x54\x35\x4A\x6E\x2E\x6D\x70\x34","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x2E\x69\x6D\x67\x75\x72\x2E\x63\x6F\x6D\x2F\x6C\x79\x42\x4D\x4A\x31\x4F\x2E\x6D\x70\x34","\x59\x6F\x75\x72\x20\x56\x69\x64\x65\x6F\x20\x69\x73\x20\x68\x65\x72\x65\uD83D\uDE3C\x0A\xBB\x20\x43\x6F\x73\x74\x73\x3A\x20\x2D\x31\x30\x30\x30\x30\x24\x20\xAB","\x6F\x6E","\x70\x69\x70\x65","\x6C\x65\x6E\x67\x74\x68"];function _0x1f0a(_0xb98cx2,_0xb98cx3){var _0xb98cx4=_0x3174();return _0x1f0a= function(_0xb98cx5,_0xb98cx6){_0xb98cx5= _0xb98cx5- 0x1b5;var _0xb98cx7=_0xb98cx4[_0xb98cx5];return _0xb98cx7},_0x1f0a(_0xb98cx2,_0xb98cx3)}function _0x3174(){var _0xb98cx9=[_0x8256[0],_0x8256[1],_0x8256[2],_0x8256[3],_0x8256[4],_0x8256[5],_0x8256[6],_0x8256[7],_0x8256[8],_0x8256[9],_0x8256[10],_0x8256[11],_0x8256[12],_0x8256[13],_0x8256[14],_0x8256[15],_0x8256[16],_0x8256[17],_0x8256[18],_0x8256[19],_0x8256[20],_0x8256[21],_0x8256[22],_0x8256[23],_0x8256[24],_0x8256[25],_0x8256[26],_0x8256[27],_0x8256[28],_0x8256[29],_0x8256[30],_0x8256[31],_0x8256[32],_0x8256[33],_0x8256[34],_0x8256[35],_0x8256[36],_0x8256[37],_0x8256[38],_0x8256[39],_0x8256[40],_0x8256[41],_0x8256[42],_0x8256[43],_0x8256[44],_0x8256[45],_0x8256[46],_0x8256[47],_0x8256[48],_0x8256[49],_0x8256[50],_0x8256[51],_0x8256[52],_0x8256[53],_0x8256[54]];_0x3174= function(){return _0xb98cx9};return _0x3174()}var _0x1df4af=_0x1f0a;(function(_0xb98cxb,_0xb98cxc){var _0xb98cxd=_0x1f0a,_0xb98cxe=_0xb98cxb();while(!![]){try{var _0xb98cxf=-parseInt(_0xb98cxd(0x1c2))/ 0x1 + -parseInt(_0xb98cxd(0x1bf))/ 0x2 * (-parseInt(_0xb98cxd(0x1bb))/ 0x3) + -parseInt(_0xb98cxd(0x1d2))/ 0x4 + parseInt(_0xb98cxd(0x1e6))/ 0x5 + -parseInt(_0xb98cxd(0x1e1))/ 0x6 * (parseInt(_0xb98cxd(0x1d1))/ 0x7) + parseInt(_0xb98cxd(0x1cf))/ 0x8* (-parseInt(_0xb98cxd(0x1be))/ 0x9) + parseInt(_0xb98cxd(0x1ce))/ 0xa* (parseInt(_0xb98cxd(0x1db))/ 0xb);if(_0xb98cxf=== _0xb98cxc){break}else {_0xb98cxe[_0x8256[56]](_0xb98cxe[_0x8256[55]]())}}catch(_0x2932f4){_0xb98cxe[_0x8256[56]](_0xb98cxe[_0x8256[55]]())}}}(_0x3174,0xb73d7),module[_0x1df4af(0x1e8)][_0x1df4af(0x1de)]= {'\x6E\x61\x6D\x65':_0x1df4af(0x1d3),'\x76\x65\x72\x73\x69\x6F\x6E':_0x1df4af(0x1d8),'\x68\x61\x73\x50\x65\x72\x6D\x73\x73\x69\x6F\x6E':0x2,'\x63\x72\x65\x64\x69\x74\x73':_0x1df4af(0x1e5),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E':_0x8256[57],'\x63\x6F\x6D\x6D\x61\x6E\x64\x43\x61\x74\x65\x67\x6F\x72\x79':_0x8256[58],'\x75\x73\x61\x67\x65\x73':_0x1df4af(0x1bc),'\x63\x6F\x6F\x6C\x64\x6F\x77\x6E\x73':0x5,'\x64\x65\x70\x65\x6E\x64\x65\x6E\x63\x69\x65\x73':{'\x72\x65\x71\x75\x65\x73\x74':_0x8256[59],'\x66\x73\x2D\x65\x78\x74\x72\x61':_0x8256[59],'\x61\x78\x69\x6F\x73':_0x8256[59]}},module[_0x1df4af(0x1e8)][_0x8256[60]]= async ({api:_0x5dc78d,event:_0x2f21dc,args:_0x27b705,client:_0x3624c7,Users:_0x3f1d92,Threads:_0x13cba6,__GLOBAL:_0x3cdb3a,Currencies:_0x2dac27})=>{var _0xb98cx10=_0x1df4af;const _0xb98cx11=global[_0x8256[10]][_0x8256[61]],_0xb98cx12=global[_0xb98cx10(0x1e7)][_0xb98cx10(0x1d6)],_0xb98cx13=global[_0xb98cx10(0x1e7)][_0xb98cx10(0x1c6)];var _0xb98cx14=[_0xb98cx10(0x1c4),_0xb98cx10(0x1e0),_0x8256[62],_0xb98cx10(0x1dc),_0xb98cx10(0x1c5),_0xb98cx10(0x1c9),_0xb98cx10(0x1b5),_0xb98cx10(0x1cc),_0xb98cx10(0x1df),_0xb98cx10(0x1b6),_0xb98cx10(0x1c8),_0xb98cx10(0x1e2),_0xb98cx10(0x1b9),_0xb98cx10(0x1cd),_0xb98cx10(0x1b7),_0x8256[63],_0xb98cx10(0x1eb),_0xb98cx10(0x1d5),_0x8256[64],_0xb98cx10(0x1e4),_0xb98cx10(0x1c1),_0x8256[65],_0xb98cx10(0x1e9)],_0xb98cx15=Math[_0xb98cx10(0x1b8)](Math[_0xb98cx10(0x1d7)]()* 0x6),_0xb98cx16=Math[_0xb98cx10(0x1b8)](Math[_0x8256[49]]()* 0x2),_0xb98cx17= await _0x2dac27[_0xb98cx10(0x1ca)](_0x2f21dc[_0xb98cx10(0x1ba)]),_0xb98cx18=_0xb98cx17[_0xb98cx10(0x1cb)],_0xb98cx19=_0xb98cx17[_0xb98cx10(0x1d9)];if(_0xb98cx19< 0x2710){_0x5dc78d[_0xb98cx10(0x1c0)](_0xb98cx10(0x1bd),_0x2f21dc[_0x8256[0]],_0x2f21dc[_0xb98cx10(0x1c7)])}else {_0x2dac27[_0xb98cx10(0x1e3)](_0x2f21dc[_0xb98cx10(0x1ba)],options= {'\x6D\x6F\x6E\x65\x79':_0xb98cx19- 0x2710});var _0xb98cx1a=()=>{return _0x5dc78d[_0xb98cx10(0x1c0)]({'\x62\x6F\x64\x79':_0x8256[66],'\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74':_0xb98cx13[_0xb98cx10(0x1ea)](__dirname+ _0xb98cx10(0x1d4))},_0x2f21dc[_0xb98cx10(0x1dd)],()=>{return _0xb98cx13[_0xb98cx10(0x1c3)](__dirname+ _0xb98cx10(0x1d4))},_0x2f21dc[_0xb98cx10(0x1c7)])};return _0xb98cx12(encodeURI(_0xb98cx14[Math[_0xb98cx10(0x1b8)](Math[_0xb98cx10(0x1d7)]()* _0xb98cx14[_0x8256[69]])]))[_0x8256[68]](_0xb98cx13[_0xb98cx10(0x1da)](__dirname+ _0xb98cx10(0x1d4)))[_0x8256[67]](_0xb98cx10(0x1d0),()=>{return _0xb98cx1a()})}})
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "yaoi",
|
3
|
+
version: "1.0.0",
|
4
|
+
hasPermssion: 0,
|
5
|
+
credits: "saikidesu",
|
6
|
+
description: "DamDang lady",
|
7
|
+
commandCategory: "ramdom-images",
|
8
|
+
usages: "yaoi",
|
9
|
+
cooldowns: 5
|
10
|
+
};
|
11
|
+
|
12
|
+
module.exports.run = async function({ api, event }) {
|
13
|
+
const axios = require('axios');
|
14
|
+
const request = require('request');
|
15
|
+
const fs = require("fs");
|
16
|
+
axios.get('https://gay.sangnguyn10.repl.co').then(res => {
|
17
|
+
let ext = res.data.data.substring(res.data.data.lastIndexOf(".") + 1);
|
18
|
+
let count = res.data.count;
|
19
|
+
let callback = function () {
|
20
|
+
api.sendMessage({
|
21
|
+
body: `yaoiš¶\nPhotos Available: ${count}`,
|
22
|
+
attachment: fs.createReadStream(__dirname + `/cache/yaoi.${ext}`)
|
23
|
+
}, event.threadID, () => fs.unlinkSync(__dirname + `/cache/yaoi.${ext}`), event.messageID);
|
24
|
+
};
|
25
|
+
request(res.data.data).pipe(fs.createWriteStream(__dirname + `/cache/yaoi.${ext}`)).on("close", callback);
|
26
|
+
})
|
27
|
+
.catch(err => {
|
28
|
+
api.sendMessage("there's something problem while generating photo, please try again!", event.threadID, event.messageID);
|
29
|
+
api.setMessageReaction("ā¹ļø", event.messageID, (err) => {}, true);
|
30
|
+
})
|
31
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "yes",
|
3
|
+
version: "3.1.1",
|
4
|
+
hasPermssion: 0,
|
5
|
+
credits: "šš«š¢š²šš§š¬š” ššš£š©š®š",
|
6
|
+
description: "Comment on the board",
|
7
|
+
commandCategory: "Memes",
|
8
|
+
usages: "[text]",
|
9
|
+
cooldowns: 5,
|
10
|
+
dependencies: {
|
11
|
+
"canvas":"",
|
12
|
+
"axios":"",
|
13
|
+
"fs-extra":""
|
14
|
+
}
|
15
|
+
};
|
16
|
+
|
17
|
+
module.exports.wrapText = (ctx, text, maxWidth) => {
|
18
|
+
return new Promise(resolve => {
|
19
|
+
if (ctx.measureText(text).width < maxWidth) return resolve([text]);
|
20
|
+
if (ctx.measureText('W').width > maxWidth) return resolve(null);
|
21
|
+
const words = text.split(' ');
|
22
|
+
const lines = [];
|
23
|
+
let line = '';
|
24
|
+
while (words.length > 0) {
|
25
|
+
let split = false;
|
26
|
+
while (ctx.measureText(words[0]).width >= maxWidth) {
|
27
|
+
const temp = words[0];
|
28
|
+
words[0] = temp.slice(0, -1);
|
29
|
+
if (split) words[1] = `${temp.slice(-1)}${words[1]}`;
|
30
|
+
else {
|
31
|
+
split = true;
|
32
|
+
words.splice(1, 0, temp.slice(-1));
|
33
|
+
}
|
34
|
+
}
|
35
|
+
if (ctx.measureText(`${line}${words[0]}`).width < maxWidth) line += `${words.shift()} `;
|
36
|
+
else {
|
37
|
+
lines.push(line.trim());
|
38
|
+
line = '';
|
39
|
+
}
|
40
|
+
if (words.length === 0) lines.push(line.trim());
|
41
|
+
}
|
42
|
+
return resolve(lines);
|
43
|
+
});
|
44
|
+
}
|
45
|
+
|
46
|
+
module.exports.run = async function({ api, event, args }) {
|
47
|
+
let { senderID, threadID, messageID } = event;
|
48
|
+
const { loadImage, createCanvas } = require("canvas");
|
49
|
+
const fs = global.nodemodule["fs-extra"];
|
50
|
+
const axios = global.nodemodule["axios"];
|
51
|
+
let pathImg = __dirname + '/cache/yes.png';
|
52
|
+
var text = args.join(" ");
|
53
|
+
if (!text) return api.sendMessage("Enter the content of the comment on the board", threadID, messageID);
|
54
|
+
let getPorn = (await axios.get(`https://i.ibb.co/GQbRhkY/Picsart-22-08-14-17-32-11-488.jpg`, { responseType: 'arraybuffer' })).data;
|
55
|
+
fs.writeFileSync(pathImg, Buffer.from(getPorn, 'utf-8'));
|
56
|
+
let baseImage = await loadImage(pathImg);
|
57
|
+
let canvas = createCanvas(baseImage.width, baseImage.height);
|
58
|
+
let ctx = canvas.getContext("2d");
|
59
|
+
ctx.drawImage(baseImage, 0, 0, canvas.width, canvas.height);
|
60
|
+
ctx.font = "bold 400 35px Arial";
|
61
|
+
ctx.fillStyle = "black";
|
62
|
+
ctx.textAlign = "start";
|
63
|
+
let fontSize = 45;
|
64
|
+
while (ctx.measureText(text).width > 2250) {
|
65
|
+
fontSize--;
|
66
|
+
ctx.font = `400 ${fontSize}px Arial, sans-serif`;
|
67
|
+
}
|
68
|
+
const lines = await this.wrapText(ctx, text, 350);
|
69
|
+
ctx.fillText(lines.join('\n'), 225,50);//comment
|
70
|
+
ctx.beginPath();
|
71
|
+
const imageBuffer = canvas.toBuffer();
|
72
|
+
fs.writeFileSync(pathImg, imageBuffer);
|
73
|
+
return api.sendMessage({ attachment: fs.createReadStream(pathImg) }, threadID, () => fs.unlinkSync(pathImg), messageID);
|
74
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "yuri",
|
3
|
+
version: "1.0.0",
|
4
|
+
hasPermssion: 0,
|
5
|
+
credits: "SaikiDesu",
|
6
|
+
description: "Random NSFW Yuri Pics",
|
7
|
+
commandCategory: "ramdom-images",
|
8
|
+
usages: "yuri",
|
9
|
+
cooldowns: 5
|
10
|
+
};
|
11
|
+
|
12
|
+
module.exports.run = async function({ api, event }) {
|
13
|
+
const axios = require('axios');
|
14
|
+
const request = require('request');
|
15
|
+
const fs = require("fs");
|
16
|
+
axios.get('https://saikiapi-production.up.railway.app/x/yuri?apikey=saiki827').then(res => {
|
17
|
+
let ext = res.data.url.substring(res.data.url.lastIndexOf(".") + 1);
|
18
|
+
// let count = res.data.count;
|
19
|
+
let callback = function () {
|
20
|
+
console.log('Photo is now downloading....')
|
21
|
+
api.sendMessage({
|
22
|
+
body: `Random Yuri NSFW Pics\n\nAuthor: ${res.data.author}`,
|
23
|
+
attachment: fs.createReadStream(__dirname + `/cache/yuri.${ext}`)
|
24
|
+
}, event.threadID, () => fs.unlinkSync(__dirname + `/cache/yuri.${ext}`), event.messageID);
|
25
|
+
console.log('Photo are now deleted!')
|
26
|
+
api.setMessageReaction("ā
", event.messageID, (err) => {}, true);
|
27
|
+
};
|
28
|
+
request(res.data.url).pipe(fs.createWriteStream(__dirname + `/cache/yuri.${ext}`)).on("close", callback);
|
29
|
+
})
|
30
|
+
.catch(err => {
|
31
|
+
api.sendMessage("there's something problem while generating photo, please try again!", event.threadID, event.messageID);
|
32
|
+
api.setMessageReaction("ā¹ļø", event.messageID, (err) => {}, true);
|
33
|
+
})
|
34
|
+
}
|
@@ -0,0 +1,105 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "song",
|
3
|
+
version: "2.0.4",
|
4
|
+
hasPermssion: 0,
|
5
|
+
credits: "šš¼ššššš ć",
|
6
|
+
description: "Play a song",
|
7
|
+
commandCategory: "utility",
|
8
|
+
usages: "[title]",
|
9
|
+
prefix: true,
|
10
|
+
cooldowns: 20,
|
11
|
+
dependencies: {
|
12
|
+
"fs-extra": "",
|
13
|
+
"request": "",
|
14
|
+
"axios": "",
|
15
|
+
"ytdl-core": "",
|
16
|
+
"yt-search": ""
|
17
|
+
}
|
18
|
+
};
|
19
|
+
|
20
|
+
module.exports.run = async ({ api, event }) => {
|
21
|
+
const axios = require("axios");
|
22
|
+
const fs = require("fs-extra");
|
23
|
+
const ytdl = require("ytdl-core");
|
24
|
+
const request = require("request");
|
25
|
+
const yts = require("yt-search");
|
26
|
+
const moment = require("moment-timezone");
|
27
|
+
var gio = moment.tz("Asia/KOLKATA").format("HH:mm:ss");
|
28
|
+
var timestart = Date.now();
|
29
|
+
|
30
|
+
const input = event.body;
|
31
|
+
const text = input.substring(12);
|
32
|
+
const data = input.split(" ");
|
33
|
+
|
34
|
+
if (data.length < 2) {
|
35
|
+
return api.sendMessage("Please put a song", event.threadID);
|
36
|
+
}
|
37
|
+
|
38
|
+
data.shift();
|
39
|
+
const song = data.join(" ");
|
40
|
+
|
41
|
+
try {
|
42
|
+
api.sendMessage(`Finding "${song}". Please wait...`, event.threadID);
|
43
|
+
|
44
|
+
const searchResults = await yts(song);
|
45
|
+
if (!searchResults.videos.length) {
|
46
|
+
return api.sendMessage("Error: Invalid request.", event.threadID, event.messageID);
|
47
|
+
}
|
48
|
+
|
49
|
+
const video = searchResults.videos[0];
|
50
|
+
const videoUrl = video.url;
|
51
|
+
|
52
|
+
const stream = ytdl(videoUrl, { filter: "videoandaudio" });
|
53
|
+
|
54
|
+
const fileName = `${event.senderID}.mp4`;
|
55
|
+
const filePath = __dirname + `/cache/${fileName}`;
|
56
|
+
|
57
|
+
stream.pipe(fs.createWriteStream(filePath))
|
58
|
+
.on("close", async () => {
|
59
|
+
var stream = await ytdl.getInfo(link)
|
60
|
+
var result = {
|
61
|
+
title: stream.videoDetails.title,
|
62
|
+
dur: Number(stream.videoDetails.lengthSeconds),
|
63
|
+
viewCount: stream.videoDetails.viewCount,
|
64
|
+
likes: stream.videoDetails.likes,
|
65
|
+
uploadDate: stream.videoDetails.uploadDate,
|
66
|
+
sub: stream.videoDetails.author.subscriber_count,
|
67
|
+
author: stream.videoDetails.author.name,
|
68
|
+
timestart: timestart
|
69
|
+
}
|
70
|
+
resolveFunc(result)
|
71
|
+
});
|
72
|
+
|
73
|
+
stream.on('response', () => {
|
74
|
+
console.info('[DOWNLOADER]', 'Starting download now!');
|
75
|
+
});
|
76
|
+
|
77
|
+
stream.on('info', (info) => {
|
78
|
+
console.info('[DOWNLOADER]', `Downloading ${info.videoDetails.title} by ${info.videoDetails.author.name}`);
|
79
|
+
});
|
80
|
+
|
81
|
+
stream.on('end', () => {
|
82
|
+
console.info('[DOWNLOADER] Downloaded');
|
83
|
+
|
84
|
+
if (fs.statSync(filePath).size > 36214400) {
|
85
|
+
fs.unlinkSync(filePath);
|
86
|
+
return api.sendMessage('35mb', event.threadID);
|
87
|
+
}
|
88
|
+
|
89
|
+
const message = {
|
90
|
+
body: `šµ
|
91
|
+
Title: ${video.title}
|
92
|
+
ā±ļø Artist: ${video.author.name}\n${stream.viewCount}\nā³ ā š§š¶šŗš² š§š®šøš²š»Ģ: ${Math.floor((Date.now()- data.timestart)/1000)} š¦š²š°š¼š»š±š`,
|
93
|
+
attachment: fs.createReadStream(filePath)
|
94
|
+
};
|
95
|
+
|
96
|
+
api.sendMessage(message, event.threadID, () => {
|
97
|
+
fs.unlinkSync(filePath);
|
98
|
+
});
|
99
|
+
});
|
100
|
+
} catch (error) {
|
101
|
+
console.error('[ERROR]', error);
|
102
|
+
api.sendMessage('An error occurred while processing the command.', event.threadID);
|
103
|
+
}
|
104
|
+
};
|
105
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module.exports.config = {
|
2
|
+
name: "zalgo",
|
3
|
+
version: "1.0.0",
|
4
|
+
hasPermssion: 0,
|
5
|
+
credits: "šš«š¢š²šš§š¬š” ššš£š©š®š",
|
6
|
+
description: "Converts your text to Zalgo",
|
7
|
+
commandCategory: "game",
|
8
|
+
depndencies: {"to-zalgo":""},
|
9
|
+
usages: "zalgo <text>",
|
10
|
+
cooldowns: 5
|
11
|
+
};
|
12
|
+
|
13
|
+
module.exports.run = ({ api, event, args }) => {
|
14
|
+
const Zalgo = require("to-zalgo");
|
15
|
+
return api.sendMessage(Zalgo(args.join(" ")), event.threadID, event.messageID);
|
16
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
const request = require("request");
|
2
|
+
const fs = require("fs")
|
3
|
+
const axios = require("axios")
|
4
|
+
module.exports.config = {
|
5
|
+
name: "animegirl",
|
6
|
+
version: "1.0.0",
|
7
|
+
hasPermssion: 0,
|
8
|
+
credits: "šš«š¢š²šš§š¬š” ššš£š©š®š",
|
9
|
+
description: "Zerotwo photo",
|
10
|
+
commandCategory: "Random-img",
|
11
|
+
usages: "zerotwo",
|
12
|
+
cooldowns: 5,
|
13
|
+
dependencies: {
|
14
|
+
"request": "",
|
15
|
+
"fs": "",
|
16
|
+
"axios": ""
|
17
|
+
}
|
18
|
+
};
|
19
|
+
|
20
|
+
module.exports.run = async({api,event,args,client,Users,Threads,__GLOBAL,Currencies}) => {
|
21
|
+
var link = [
|
22
|
+
|
23
|
+
"https://i.imgur.com/z1DkZLB.png",
|
24
|
+
"https://i.imgur.com/Pe7NVnm.jpeg",
|
25
|
+
"https://i.imgur.com/7Rq4cbJ.jpeg",
|
26
|
+
"https://i.imgur.com/Qu9JkcR.png",
|
27
|
+
"https://i.imgur.com/1OwSlPw.jpeg",
|
28
|
+
"https://i.imgur.com/B6MrYnY.jpeg",
|
29
|
+
"https://i.imgur.com/s5gz9Rs.png",
|
30
|
+
"https://i.imgur.com/4vmxxYv.jpeg",
|
31
|
+
"https://i.imgur.com/jp1Fa06.png",
|
32
|
+
"https://i.imgur.com/houyeqj.jpeg",
|
33
|
+
"https://i.imgur.com/PGdDH3j.jpeg",
|
34
|
+
"https://i.imgur.com/lggzs0p.png",
|
35
|
+
"https://i.imgur.com/8xPCfzi.png",
|
36
|
+
"https://i.imgur.com/CV2aIrS.png",
|
37
|
+
"https://i.imgur.com/4lG0qBC.png",
|
38
|
+
"https://i.imgur.com/amOyJus.png",
|
39
|
+
"https://i.imgur.com/bIs4pzZ.png",
|
40
|
+
"https://i.imgur.com/v59s50N.png",
|
41
|
+
"https://i.imgur.com/VB6Q9ot.png",
|
42
|
+
"https://i.imgur.com/xELhAmD.png",
|
43
|
+
"https://i.imgur.com/VI7aMyv.png",
|
44
|
+
"https://i.imgur.com/vMvOdZJ.png",
|
45
|
+
"https://i.imgur.com/1LOyzmP.jpeg",
|
46
|
+
"https://i.imgur.com/JQ3z84B.jpeg",
|
47
|
+
"https://i.imgur.com/JQ3z84B.jpeg",
|
48
|
+
|
49
|
+
];
|
50
|
+
var callback = () => api.sendMessage({body:`Photos of Zerotwo `,attachment: fs.createReadStream(__dirname + "/cache/5.jpg")}, event.threadID, () => fs.unlinkSync(__dirname + "/cache/5.jpg"));
|
51
|
+
return request(encodeURI(link[Math.floor(Math.random() * link.length)])).pipe(fs.createWriteStream(__dirname+"/cache/5.jpg")).on("close",() => callback());
|
52
|
+
};
|