Git Product home page Git Product logo

bot-wa's Introduction

Hi ๐Ÿ‘‹! My name is pais and I'm a student.

๐Ÿ‘ฉโ€๐Ÿ’ป About Me

- ๐Ÿ”ญ Currently I am still studying JavaScript and Typescript
- ๐Ÿ“š I'm currently learning React & NextJs
- โšก In my free time, I still code
- ๐Ÿซ Student at one of the campuses

๐Ÿ”ฅ My Stats :

stats graph languages graph languages graph

๐Ÿ›  Language and tools

javascript logo typescript logo react logo html5 logo css3 logo go logo nestjs logo discordjs logo mongodb logo apache logo git logo github logo heroku logo mysql logo linux logo figma logo nodejs logo nginx logo npm logo cplusplus logo vuejs logo nuxtjs logo php logo putty logo redis logo ubuntu logo vscode logo vuetify logo express logo nextjs logo laravel logo


Snake animation

bot-wa's People

Contributors

lol-human avatar paiiss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bot-wa's Issues

Rpg game

I want to continue this rpg game on bot wa, but I have no idea, can anyone help me?

ANIME FEATURES

Can you please add anime features, I have pokemon, anime, quiz & economy features which I can contribute...

Crash "@adiwajshing/baileys"' has no exported member named 'MessageUpdateType'. Did you mean 'MessageUpsertType'?

Hello, I am trying to deploy your bot to Heroku. I set up the MongoDB Atlas URL / Credentials correctly, everything should run fine except I get this error in heroku's console:

'"@adiwajshing/baileys"' has no exported member named 'MessageUpdateType'. Did you mean 'MessageUpsertType'?

Am I doing something wrong?

  2022-07-27T01:12:23.640671+00:00 app[web.1]: > [email protected] server

2022-07-27T01:12:23.640672+00:00 app[web.1]: > ts-node --project ./tsconfig.json -r tsconfig-paths/register src/main.ts --server

2022-07-27T01:12:23.640672+00:00 app[web.1]: 

2022-07-27T01:12:29.964415+00:00 app[web.1]: /allen/node_modules/ts-node/src/index.ts:859

2022-07-27T01:12:29.964440+00:00 app[web.1]:     return new TSError(diagnosticText, diagnosticCodes, diagnostics);

2022-07-27T01:12:29.964440+00:00 app[web.1]:            ^

2022-07-27T01:12:29.966464+00:00 app[web.1]: TSError: โจฏ Unable to compile TypeScript:

2022-07-27T01:12:29.966470+00:00 app[web.1]: src/utils/connect.utils.ts(1,59): error TS2724: '"@adiwajshing/baileys"' has no exported member named 'MessageUpdateType'. Did you mean 'MessageUpsertType'?

2022-07-27T01:12:29.966471+00:00 app[web.1]: 

2022-07-27T01:12:29.966471+00:00 app[web.1]:     at createTSError (/allen/node_modules/ts-node/src/index.ts:859:12)

2022-07-27T01:12:29.966472+00:00 app[web.1]:     at reportTSError (/allen/node_modules/ts-node/src/index.ts:863:19)

2022-07-27T01:12:29.966472+00:00 app[web.1]:     at getOutput (/allen/node_modules/ts-node/src/index.ts:1077:36)

2022-07-27T01:12:29.966472+00:00 app[web.1]:     at Object.compile (/allen/node_modules/ts-node/src/index.ts:1433:41)

2022-07-27T01:12:29.966472+00:00 app[web.1]:     at Module.m._compile (/allen/node_modules/ts-node/src/index.ts:1617:30)

2022-07-27T01:12:29.966473+00:00 app[web.1]:     at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)

2022-07-27T01:12:29.966474+00:00 app[web.1]:     at Object.require.extensions.<computed> [as .ts] (/allen/node_modules/ts-node/src/index.ts:1621:12)

2022-07-27T01:12:29.966474+00:00 app[web.1]:     at Module.load (node:internal/modules/cjs/loader:981:32)

2022-07-27T01:12:29.966475+00:00 app[web.1]:     at Function.Module._load (node:internal/modules/cjs/loader:822:12)

2022-07-27T01:12:29.966475+00:00 app[web.1]:     at Module.require (node:internal/modules/cjs/loader:1005:19) {

2022-07-27T01:12:29.966476+00:00 app[web.1]:   diagnosticCodes: [ 2724 ]

2022-07-27T01:12:29.966476+00:00 app[web.1]: }

2022-07-27T01:12:29.980965+00:00 app[web.1]: npm notice 

2022-07-27T01:12:29.981041+00:00 app[web.1]: npm notice New minor version of npm available! 8.11.0 -> 8.15.0

2022-07-27T01:12:29.981191+00:00 app[web.1]: npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.15.0>

2022-07-27T01:12:29.981235+00:00 app[web.1]: npm notice Run `npm install -g [email protected]` to update!

2022-07-27T01:12:29.981359+00:00 app[web.1]: npm notice 

2022-07-27T01:12:30.111536+00:00 heroku[web.1]: Process exited with status 1

2022-07-27T01:12:30.221335+00:00 heroku[web.1]: State changed from starting to crashed

full log (it starts halfway an error for some reason)


2022-07-27T00:20:18.954692+00:00 app[web.1]:     at Module.require (node:internal/modules/cjs/loader:1005:19) {

2022-07-27T00:20:18.954692+00:00 app[web.1]:   diagnosticCodes: [ 2724 ]

2022-07-27T00:20:18.954693+00:00 app[web.1]: }

2022-07-27T00:20:18.969071+00:00 app[web.1]: npm notice 

2022-07-27T00:20:18.969153+00:00 app[web.1]: npm notice New minor version of npm available! 8.11.0 -> 8.15.0

2022-07-27T00:20:18.969300+00:00 app[web.1]: npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.15.0>

2022-07-27T00:20:18.969351+00:00 app[web.1]: npm notice Run `npm install -g [email protected]` to update!

2022-07-27T00:20:18.969493+00:00 app[web.1]: npm notice 

2022-07-27T00:20:19.097712+00:00 heroku[web.1]: Process exited with status 1

2022-07-27T00:20:19.149436+00:00 heroku[web.1]: State changed from starting to crashed

Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...

2022-07-27T00:20:18.954692+00:00 app[web.1]:     at Module.require (node:internal/modules/cjs/loader:1005:19) {

2022-07-27T00:20:18.954692+00:00 app[web.1]:   diagnosticCodes: [ 2724 ]

2022-07-27T00:20:18.954693+00:00 app[web.1]: }

2022-07-27T00:20:18.969071+00:00 app[web.1]: npm notice 

2022-07-27T00:20:18.969153+00:00 app[web.1]: npm notice New minor version of npm available! 8.11.0 -> 8.15.0

2022-07-27T00:20:18.969300+00:00 app[web.1]: npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.15.0>

2022-07-27T00:20:18.969351+00:00 app[web.1]: npm notice Run `npm install -g [email protected]` to update!

2022-07-27T00:20:18.969493+00:00 app[web.1]: npm notice 

2022-07-27T00:20:19.097712+00:00 heroku[web.1]: Process exited with status 1

2022-07-27T00:20:19.149436+00:00 heroku[web.1]: State changed from starting to crashed

2022-07-27T01:12:07.267778+00:00 heroku[web.1]: State changed from crashed to starting

2022-07-27T01:12:21.820252+00:00 heroku[web.1]: Starting process with command `/bin/sh -c npm\ run\ server`

2022-07-27T01:12:23.640658+00:00 app[web.1]: 

2022-07-27T01:12:23.640671+00:00 app[web.1]: > [email protected] server

2022-07-27T01:12:23.640672+00:00 app[web.1]: > ts-node --project ./tsconfig.json -r tsconfig-paths/register src/main.ts --server

2022-07-27T01:12:23.640672+00:00 app[web.1]: 

2022-07-27T01:12:29.964415+00:00 app[web.1]: /allen/node_modules/ts-node/src/index.ts:859

2022-07-27T01:12:29.964440+00:00 app[web.1]:     return new TSError(diagnosticText, diagnosticCodes, diagnostics);

2022-07-27T01:12:29.964440+00:00 app[web.1]:            ^

2022-07-27T01:12:29.966464+00:00 app[web.1]: TSError: โจฏ Unable to compile TypeScript:

2022-07-27T01:12:29.966470+00:00 app[web.1]: src/utils/connect.utils.ts(1,59): error TS2724: '"@adiwajshing/baileys"' has no exported member named 'MessageUpdateType'. Did you mean 'MessageUpsertType'?

2022-07-27T01:12:29.966471+00:00 app[web.1]: 

2022-07-27T01:12:29.966471+00:00 app[web.1]:     at createTSError (/allen/node_modules/ts-node/src/index.ts:859:12)

2022-07-27T01:12:29.966472+00:00 app[web.1]:     at reportTSError (/allen/node_modules/ts-node/src/index.ts:863:19)

2022-07-27T01:12:29.966472+00:00 app[web.1]:     at getOutput (/allen/node_modules/ts-node/src/index.ts:1077:36)

2022-07-27T01:12:29.966472+00:00 app[web.1]:     at Object.compile (/allen/node_modules/ts-node/src/index.ts:1433:41)

2022-07-27T01:12:29.966472+00:00 app[web.1]:     at Module.m._compile (/allen/node_modules/ts-node/src/index.ts:1617:30)

2022-07-27T01:12:29.966473+00:00 app[web.1]:     at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)

2022-07-27T01:12:29.966474+00:00 app[web.1]:     at Object.require.extensions.<computed> [as .ts] (/allen/node_modules/ts-node/src/index.ts:1621:12)

2022-07-27T01:12:29.966474+00:00 app[web.1]:     at Module.load (node:internal/modules/cjs/loader:981:32)

2022-07-27T01:12:29.966475+00:00 app[web.1]:     at Function.Module._load (node:internal/modules/cjs/loader:822:12)

2022-07-27T01:12:29.966475+00:00 app[web.1]:     at Module.require (node:internal/modules/cjs/loader:1005:19) {

2022-07-27T01:12:29.966476+00:00 app[web.1]:   diagnosticCodes: [ 2724 ]

2022-07-27T01:12:29.966476+00:00 app[web.1]: }

2022-07-27T01:12:29.980965+00:00 app[web.1]: npm notice 

2022-07-27T01:12:29.981041+00:00 app[web.1]: npm notice New minor version of npm available! 8.11.0 -> 8.15.0

2022-07-27T01:12:29.981191+00:00 app[web.1]: npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.15.0>

2022-07-27T01:12:29.981235+00:00 app[web.1]: npm notice Run `npm install -g [email protected]` to update!

2022-07-27T01:12:29.981359+00:00 app[web.1]: npm notice 

2022-07-27T01:12:30.111536+00:00 heroku[web.1]: Process exited with status 1

2022-07-27T01:12:30.221335+00:00 heroku[web.1]: State changed from starting to crashed

Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...

2022-07-27T01:12:29.966475+00:00 app[web.1]:     at Module.require (node:internal/modules/cjs/loader:1005:19) {

2022-07-27T01:12:29.966476+00:00 app[web.1]:   diagnosticCodes: [ 2724 ]

2022-07-27T01:12:29.966476+00:00 app[web.1]: }

2022-07-27T01:12:29.980965+00:00 app[web.1]: npm notice 

2022-07-27T01:12:29.981041+00:00 app[web.1]: npm notice New minor version of npm available! 8.11.0 -> 8.15.0

2022-07-27T01:12:29.981191+00:00 app[web.1]: npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.15.0>

2022-07-27T01:12:29.981235+00:00 app[web.1]: npm notice Run `npm install -g [email protected]` to update!

2022-07-27T01:12:29.981359+00:00 app[web.1]: npm notice 

2022-07-27T01:12:30.111536+00:00 heroku[web.1]: Process exited with status 1

2022-07-27T01:12:30.221335+00:00 heroku[web.1]: State changed from starting to crashed

MongoDB Error

example : 1. mongodb+srv://yourantithesist:<password>@cluster0.d7sagsk.mongodb.net/?retryWrites=true&w=majority
                 2. mongodb+srv://yourantithesist:<password>@cluster0.d7sagsk.mongodb.net/wa-bot

result :

โ•ญโ”€โ”€โ”€ [ LOG ]
โ”œ [  STATS  ] Error connecting mongodb, please make sure the url is correct!
MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.Connection.openUri (/root/bot-wa/node_modules/mongoose/lib/connection.js:694:11)
    at /root/bot-wa/node_modules/mongoose/lib/index.js:381:10
    at /root/bot-wa/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
    at new Promise (<anonymous>)
    at promiseOrCallback (/root/bot-wa/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
    at Mongoose._promiseOrCallback (/root/bot-wa/node_modules/mongoose/lib/index.js:1234:10)
    at Mongoose.connect (/root/bot-wa/node_modules/mongoose/lib/index.js:380:20)
    at mongodb (/root/bot-wa/src/utils/database/mongodb.ts:6:10)
    at Object.<anonymous> (/root/bot-wa/src/main.ts:8:8)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Module.m._compile (/root/bot-wa/node_modules/ts-node/src/index.ts:1618:23)
    at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Object.require.extensions.<computed> [as .ts] (/root/bot-wa/node_modules/ts-node/src/index.ts:1621:12)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)

FEATURES

Hi bro, I followed you on IG. I have some whatsapp bot features but I need your help. Please reach me asap. Ty

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.