Whatscode.js is a package to create Whatsapp bots easily and quickly

Overview

whatscode.js

whatscode.js is a package to create Whatsapp bots easily and quickly, even coding experience is not needed...

We are also very open to those of you who want to contribute...

Features

  • Easy and fast to use.
  • Short code.
  • Currently has more than 40+ Functions ready to use and Still will continue to add more functions!

Instalation

npm install whatscode.js

or install it from Github for more new features, some bug fixes, and mybe theres some bugs too.

npm i github:JastinXyz/whatscode.js

Quick Starts

const { Client } = require("whatscode.js");

// all Client options in docs!
const bot = new Client({
  name: "Your bot name",
  prefix: "Your bot prefix",
});

// required callback
bot.onConnectionUpdate(); // connection update
bot.onCredsUpdate(); // credentials update
bot.onMessage(); // message update

// ping command
bot.command({
  name: "ping",
  code: `🏓 | $ping ms`
});

Contributors

Links

Comments
  • Update logs

    Update logs

    Your Pull Request Title

    Pull request description. Describe what you changed or added here.

    Type

    • [ ] New feature.
    • [ ] Bug Fix.
    • [x] Other:...

    Another details

    • does this have anything to do with any of the issues? (if yes, tag the issue)
    merged 
    opened by FERDIZ-afk 6
  • Create add.js

    Create add.js

    Your Pull Request Title

    Pull request description. Describe what you changed or added here.

    Type

    • $add

    Another details

    • does this have anything to do with any of the issues? (if yes, tag the issue)
    merged 
    opened by ThisMe124 3
  • Update interpreter.js

    Update interpreter.js

    Ada PR cuy, gw ga tau abisnya.

    • Si kirito belum jawab pesan gw.

    PR-nya: Ganti kode di line 126 dari "msg.key.remoteJid" jadi id broadcast (gw gtw)

    opened by justClizz 3
  • Updated Docs

    Updated Docs

    Updated Docs

    No Description

    Type

    • [✓ ] New feature.
    • [ ] Bug Fix.
    • [ ] Other:...

    Another details

    • $hasPerms Belum Ditambah Karena Belum Jelas Fungsinya Buat Apa
    merged docs 
    opened by AdamRoyn 2
  • New Function Documentation

    New Function Documentation

    New Function Documentation

    add $checkCondition and $replaceText docs.

    Type

    • [x] New feature.
    • [ ] Bug Fix.
    • [ ] Other:...

    Another details

    • does this have anything to do with any of the issues? (if yes, tag the issue)
    merged docs 
    opened by AdamRoyn 2
  • merge

    merge

    Your Pull Request Title

    Pull request description. Describe what you changed or added here.

    Type

    • [ ] New feature.
    • [ ] Bug Fix.
    • [ ] Other:...

    Another details

    • does this have anything to do with any of the issues? (if yes, tag the issue)
    opened by JastinXyz 1
  • New Function Documentation

    New Function Documentation

    Your Pull Request Title

    Pull request description. Describe what you changed or added here.

    Type

    • [✓ ] New feature.
    • [ ] Bug Fix.
    • [ ] Other:...

    Another details

    • does this have anything to do with any of the issues? (if yes, tag the issue)
    enhancement docs 
    opened by AdamRoyn 1
  • Added usdreplacetext.md

    Added usdreplacetext.md

    Added $replaceText docs page

    Added new docs page for $replaceText functions.

    Type

    • [ ] New feature.
    • [ ] Bug Fix.
    • [x] Other: new Docs Page

    Another details

    • does this have anything to do with any of the issues? (if yes, tag the issue)
    opened by AdamRoyn 0
  • experimental: removing child_process

    experimental: removing child_process

    experimental: removing child_process

    This pull request contains removing the child_process and choosing to use the regular functions to reconnect the client to the websocket. Make it easier for those whose hosting does not support child_process.

    Type

    • [x] New feature.
    • [ ] Bug Fix.
    • [ ] Other:...
    enhancement 
    opened by JastinXyz 2
Releases(v1.6.8)
  • v1.6.8(Jun 19, 2022)

    • Add:

      • line system in errors
      • add new version detected warning
      • add $cooldown
      • add $globalCooldown
      • add $stringStartsWith
      • add $charCount
      • add $indexOf
      • add $ordinal
      • add $multi
      • add $divide
      • add $modulo
      • add $variablesCount
      • add $toLowercase
      • add $toUppercase
      • add $toTitlecase
      • add $capitalizeFirstLetter
      • add $stringEndsWith
      • add $groupEditDesc
      • add $groupEditName
      • add $uri
      • add $parseDuration
      • add $nodeVersion
      • add $includes
      • add $killClient
    • Fix:

      • downloadContentFromUrl: crash handler when url is invalid
    • Delete:

      • removing lolcatjs
    • Changes:

      • quick.db changed to whatscode.db
      • onConnectionUpdate: if printQrInTerminal false you can use the callback for get the qr code
      • $sum: can use more than 2 number
      • $sub: can use more than 2 number
      • if printQRinTerminal false its absolutely false
      • $ram now return in B, KB, MB, GB, etc format and u can use 2 options inside ram functions (usage/total) default: usage
      • $jsEval can using "return code" options.
    Source code(tar.gz)
    Source code(zip)
  • v0.5.2(Jun 5, 2022)

    Changelog

    Source code(tar.gz)
    Source code(zip)
  • v0.1.3(May 27, 2022)

    Changelog

    Source code(tar.gz)
    Source code(zip)
  • v0.0.10(May 20, 2022)

  • v0.0.8(May 15, 2022)

    Changelog:

    • Make the $button support your bot command (u can fill the command in button id, when someone click it will execute the command in button id!).

    • Auto reconnect on crash when bad session. (This will make it easier for you when you first connect to Whatsapp, BUT IF YOUR HOST DOES NOT SUPPORT AUTO REBOOT FROM THIS CHILD PROCESS THEN YOU NEED A MANUAL REBOOT. This unsupport can be marked by an error from HOSTING when a reboot occurs, not an error from Whatsapp.)

    • New error message.

    • High resolution in $profilePic.

    • Fix: replacing commas to empty strings.

    • Fix: exec not responding.

    • Welcomer System: https://whatscode.jstnlt.my.id/references/callbacks/onuserjoin

    • Goodbye System: https://whatscode.jstnlt.my.id/references/callbacks/onuserleave

    • Variables System:

      • $setVar
      • $getVar
      • $setUserVar
      • $getUserVar
      • $setGroupVar
      • $getGroupVar
      • $setGlobalUserVar
      • $getGlobalUserVar
    • Add $functionsCount

    • Add $groupAcceptInvite

    • Add $templateButtons

    • Add $suppressErrors

    • Add $groupName

    • Add $groupOwner

    • Add $groupDesc

    Source code(tar.gz)
    Source code(zip)
  • v0.0.5(May 12, 2022)

    Changelog:

    • Add $argsCheck
    • Add $block
    • Add $unBlock
    • Add $commandsCount
    • Add $eval
    • Add $sendButton
    • Add $groupClose
    • Add $groupOpen
    • Add $commandReact
    • Add $button
    • Add $footer
    • Add $image
    • Add $profilePic
    • Add $groupEditLock
    • Add $groupEditUnlock
    • Add $botLeave
    Source code(tar.gz)
    Source code(zip)
  • v0.0.4(May 11, 2022)

  • v0.0.2(May 10, 2022)

  • v0.0.1-beta(May 10, 2022)

    whatscode.js

    whatscode.js is a package to create Whatsapp bots easily and quickly, even coding experience is not needed...

    You should know that whatscode.js is still in the testing stage and whatscode.js is a new project that was created a few days ago... So maybe there are still many bugs happening, Please report bugs or if you want to give suggestions open an issue in our Github Repository!

    We are also very open to those of you who want to contribute...

    Instalation

    npm install whatscode.js
    

    or install it from Github from more features and mybe theres some bugs too.

    npm i github:JastinXyz/whatscode.js
    

    Quick Starts

    const { Client } = require("whatscode.js");
    
    const bot = new Client({
      name: "Your bot name",
      prefix: "Your bot prefix",
    });
    
    // required callback
    bot.onConnectionUpdate(); // connection update
    bot.onCredsUpdate(); // credentials update
    bot.onMessage(); // message update
    
    // ping command
    bot.command({
      name: "ping",
      code: `🏓 | $ping ms`
    });
    

    Links

    • Documentation: https://whatscode.jstnlt.my.id
    • Discord Server: https://discord.gg/CzqHbx7rdU
    Source code(tar.gz)
    Source code(zip)
World first fully customizeble user bot for Whatsapp 😎 With enjoyable ththings and fun to use Whatsapp ✨️

⚡ The Alpha-X Whatsapp User Bot ?? ~ ᴡᴏʀʟᴅ ꜰɪʀꜱᴛ ꜰᴜʟʟ ᴄᴜꜱᴛᴏᴍɪᴢᴀʙʟᴇ ᴜꜱᴇʀ ʙᴏᴛ ꜰᴏʀ ᴡʜᴀᴛꜱᴀᴘᴘ ~ ?? What is Alpha-X ?? Alpha-X , is a WhatsApp helper bot wr

Official Alpha-X-Team Account 17 Jul 29, 2022
whatsapp api to remote your whatsapp device. Support multi device, multi client. Still update to more feature. Please fork, star, donate and share.

Ndalu-wa-client DEPENDENCIES : { "@adiwajshing/baileys": "^4.2.0", "@adiwajshing/keyed-db": "^0.2.4", "axios": "^0.27.2", "body-parser

null 29 Jan 4, 2023
🧰 DiscordKit is a package that allows you to easily create a Discord bot.

DiscordKit Developed with ❤️ by Swôth What's DiscordKit? DiscordKit is a package that allows you to ✨ easily ✨ create a Discord bot. Installation Deta

Swôth 5 Oct 29, 2022
Simple WhatsApp Bot Script using WhatsApp Web Multi-Device API

Shiina Mashiro MD Shiina Multi Device Using NodeJS Framework & Baileys WhatsApp Web API Information WhatsApp Bot using WhatsApp Web API. If you find a

Hafidz Al-Ghifari 3 Feb 4, 2022
Um sistema de tickets muito simples baseado em mensagens do WhatsApp, que permite multiusuários na mesma conta do WhatsApp.

Press-Ticket Manual de Instalação INSTALL.md Changelog 05/04/2022 Iniciar com o menu lateral fechado 30/03/2022 Atualização da lib wwebjs para a versã

Robson Tenorio 93 Dec 27, 2022
Whatsapp Bot with multi-device support Your Personal Assistance on Whatsapp

BotsApp-MD Whatsapp Bot with multi-device support Your Personal Assisstant, on WhatsApp! Deployment Easiest Way Head over to botsapp-md to deploy. Tak

Peter Dorglo 14 Jan 1, 2023
When new tokens gets listed on a DEX, bots are able to detect this and be one of the first to buy the token for a low price. This is an example of such bot.

Listing Sniping Bot When a new token gets listed on a DEX, bots are able to detect the PairCreated event emitted from the DEX's factory contract. This

MouseLess.eth 15 Dec 21, 2022
Tutoriel en francais sur le framework Sheweny, création de bots discord pour les débutants

Tutoriel Sheweny ✨ Sheweny est un framework pour créer des bots sur discord avec discord.js. Bienvenue dans le repo du tutoriel sur le framework Shewe

Sheweny 5 Jul 29, 2022
a full functional discord bot to send MooMoo.io bots

MooMooBot a full functional discord bot to send moomoo.io bots commands !send <server> <name> ex: !send 8:0:0 Nuro !token (generates a token to test

null 1 Jan 7, 2022
As you can tell from the name of the Bots+, it looks like a Members+ bot

Info As you can tell from the name of the Bots+, it looks like a Members+ bot. Usage First step: "!help" You must set your language with this command.

Custy 4 Feb 21, 2022
A easy way for making bots using Discord.js/Node.js

Discord.js-Bot-Template This is a very simple template for making bots using Discord.js/Node.js Tutorial: To begin, Install Node.js here. After Node.J

Prosperity 4 Nov 8, 2022
Katsushika: A REVERSED VERSION OF ASUNA & CHITOGE BOTS

Katsushika: A REVERSED VERSION OF ASUNA & CHITOGE BOTS A Fully Modular and Efficient Bot Button : If you are deploying normally Button : If you are de

 İşşa 3 Aug 23, 2022
✨ the template for all my discord bots!

my discord bot template ⚠️ if you are using this template: please credit me, be it in a command, or in the readme file, i'm not picky. so essentially

null 11 Oct 22, 2022
A NodeJS package for voice channel interactions on Revolt. This package lets you join voice channels, play music and more!

Revoice.js - A Voice Module for Revolt This package is still in developement and lacks many features. You still are able to play sound to a voice chan

ShadowLp174 13 Dec 25, 2022
A module that helps you to create minigames with whatsapp-web.js.

wa-minigames A module that helps you to create minigames with whatsapp-web.js. Installation npm install whatsapp-web.js npm install wa-minigames Examp

Alon Schwartzblat 5 May 13, 2022
An easy bot to create discord buttons easily.

Discord Buttons An easy bot to create discord buttons easily. Note: Node.js 16.6.0 or newer is required. Installation npm install You need to rename e

Fnr 7 Aug 19, 2022
An simple package to create an Activity in Discord Voice Channel using Discord.js

discordjs-activity An simple package to create an Activity in Discord Voice Channel using Discord.js ?? | Installation npm install discordjs-activity

Sudhan 55 Nov 15, 2022
A simple and easy-to-use WhatsApp bot project based on Multi-Device Baileys and written in JavaScript

MIZUHARA ANIME THEMED FULL FLEDGED MULTI DEVICE WHATSAPP BOT WITH COOL FEATURES A Full Fledged MD Bot For Bot Lovers REQUIREMENTS • HOW TO INSTALL? •

Arus~Bots 18 Oct 25, 2022
WhatsApp-last-seen - When was it last seen and how long it was online.

WhatsApp-last-seen When was it last seen and how long it was online. Copy the javascript code and paste in the browser console after opening an inbox

Breno Vambáster 6 Nov 8, 2022