This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: initial commit * chore: update .gitignore * chore: update README.md * chore(deps): add required dependencies * chore(config): update swcrc config * chore(config): update tsconfig * chore(.vscode/settings): vscode settings * chore(src/listeners): remove dircetory and file * chore(utils/structures): remove Logger and ProjectUtils * chore(src/commands/developer): remove directory * chore(src/commands/general): remove AvatarCommand * chore(src/types): remove enum * chore(types): update typings * chore(config): update environment file * chore(BaseCommand): update BaseCommand * chore(BaseListener): update BaseListener * chore(Whatsappbot): update WhatsappBot * chore(DefaultCommandComponent): update default property * chore(utils/constants): add index.ts * chore(utils/decorators): update ApplyMetadata * chore(utils/decorators): add index.ts * chore(utils/functions): add impotClass * chore(utils/functions): add mergeDefault * chore(utils/functions): add readdirRecursive * chore(utils/functions): add index.ts * chore(utils/structures): update CommandHandler * chore(utils/structures): update ListenerHandler * chore(utils/structures): add index.ts * chore(events): addd connectionUpdateEvent.ts * chore(events): addd credsUpdateEvent.ts * chore(events): addd messageUpsertEvent.ts * chore(commands/general): add HelpCommand.ts * chore(commands/general): add PingCommand.ts * chore(commands/general): add StickerCommand.ts * chore: add directory's root file * fix(mergeDefault): eslint error * fix(StickerCommand): eslint error * chore(config): update default config * chore(env): updata env example * chore(PingCommand): update usage example * chore(StickerCommand): update usage example * chore(WhatsappBot): wrong Logger Level condition
- Loading branch information
Showing
36 changed files
with
3,702 additions
and
16,977 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,3 +104,5 @@ dist | |
**.node-persist** | ||
**_IGNORE_** | ||
# end managed | ||
|
||
auth_state |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"npm.packageManager": "npm", | ||
"files.eol": "\n", | ||
"rpc.enabled": true | ||
"files.eol": "\n" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
{ | ||
"name": "whatsapp-bot", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A simple and easy-to-use WhatsApp bot project, written in TypeScript.", | ||
"homepage": "https://github.com/Clytage/whatsapp-bot#readme", | ||
"bugs": { | ||
"url": "https://github.com/Clytage/whatsapp-bot/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Clytage/whatsapp-bot.git" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"author": "Clytage <[email protected]>", | ||
"main": "dist", | ||
"type": "module", | ||
"scripts": { | ||
"build": "npm run lint && npm run compile", | ||
"compile": "swc src -d dist", | ||
|
@@ -15,58 +24,48 @@ | |
"start": "node --es-module-specifier-resolution=node -r dotenv/config .", | ||
"start:dev": "rimraf ./dist && npm run build && npm start" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Clytage/whatsapp-bot.git" | ||
}, | ||
"author": "Clytage <[email protected]>", | ||
"license": "BSD-3-Clause", | ||
"bugs": { | ||
"url": "https://github.com/Clytage/whatsapp-bot/issues" | ||
}, | ||
"homepage": "https://github.com/Clytage/whatsapp-bot#readme", | ||
"engines": { | ||
"node": ">=16", | ||
"npm": ">=7" | ||
"prettier": { | ||
"arrowParens": "avoid", | ||
"tabWidth": 4, | ||
"trailingComma": "none" | ||
}, | ||
"eslintConfig": { | ||
"extends": [ | ||
"@clytage-pkg/eslint-config/typescript", | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"plugins": [ | ||
"prettier" | ||
], | ||
"plugins": [ | ||
"extends": [ | ||
"@clytage-pkg/eslint-config/typescript", | ||
"prettier" | ||
], | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"rules": { | ||
"class-methods-use-this": 0 | ||
}, | ||
"ignorePatterns": [ | ||
"dist/*" | ||
] | ||
}, | ||
"prettier": { | ||
"tabWidth": 4, | ||
"trailingComma": "none", | ||
"arrowParens": "avoid" | ||
}, | ||
"dependencies": { | ||
"@adiwajshing/baileys": "^4.4.0", | ||
"@discordjs/collection": "1.3.0", | ||
"@sapphire/async-queue": "^1.5.0", | ||
"colorette": "2.0.19", | ||
"dayjs": "1.11.7", | ||
"@hapi/boom": "^10.0.0", | ||
"dayjs": "1.11.6", | ||
"dotenv": "16.0.3", | ||
"got": "^12.5.3", | ||
"tslib": "2.4.1" | ||
"ffmpeg-static": "^5.1.0", | ||
"pino": "^8.7.0", | ||
"pino-pretty": "^9.1.1", | ||
"qrcode-terminal": "^0.12.0", | ||
"sharp": "^0.30.5", | ||
"tslib": "2.4.1", | ||
"wa-sticker-formatter": "^4.3.2" | ||
}, | ||
"devDependencies": { | ||
"@clytage-pkg/eslint-config": "1.5.0", | ||
"@open-wa/wa-automate": "^4.52.0", | ||
"@swc/cli": "0.1.57", | ||
"@swc/core": "^1.3.21", | ||
"@types/node": "18.11.11", | ||
"@types/node": "18.11.10", | ||
"@typescript-eslint/eslint-plugin": "5.44.0", | ||
"@typescript-eslint/parser": "5.44.0", | ||
"eslint": "^8.28.0", | ||
|
@@ -76,5 +75,9 @@ | |
"rimraf": "3.0.2", | ||
"ts-node": "10.9.1", | ||
"typescript": "4.9.3" | ||
}, | ||
"engines": { | ||
"node": ">=16", | ||
"npm": ">=7" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.