synthesized-infinity / whatsapp-botto-void Goto Github PK
View Code? Open in Web Editor NEWA fully Object Oriented WhatsApp bot built with TypeScript
License: GNU Affero General Public License v3.0
A fully Object Oriented WhatsApp bot built with TypeScript
License: GNU Affero General Public License v3.0
src/commands/Fun/Trigger.ts:7:25 - error TS2307: Cannot find module 'wa-sticker-formatter/lib' or its corresponding type declarations.
7 import { Sticker } from 'wa-sticker-formatter/lib'
~~~~~~~~~~~~~~~~~~~~~~~~~~
src/commands/Utils/Sticker.ts:32:13 - error TS2345: Argument of type '{ pack: string; author: string; crop: boolean; }' is not assignable to parameter of type 'Partial'.
Object literal may only specify known properties, and 'crop' does not exist in type 'Partial'.
32 crop: parsedArgs.flags.includes('--stretch')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the bot works fine with old method, but if i try to sign in with multidevice sign in it just doesn't do anything
Can u add the broadcasting command same as the one in Xre
You know what to do.
[VOID] 13/08 05:24:00 CMD .sticker[0] from Adithya Pai B 🦦 in UwU
[VOID] 13/08 05:28:53 Command failed: mogrify -bordercolor transparent -border 39x0 /tmp/0.sbaej49lmc.png
/bin/sh: 1: mogrify: not found
Also update high vulnerability packages
ImageMagick Dead..!
If there are 2 Moderators. They Are able to ban each other. Lol. Request for fixing
Currently disable can only disable the commands.
It should have an option to disable sections for ease of use for MODS
This feature along with #27 is very crucial feature as it allows MODS to customize the Bot for specific groups.
Also DEVS can add any number of features in BOT without making it crowded.
Can we use the first url from #yts command and download the song directly without gving #yta command !
@SomnathDas @PrajjwalDatir @AlenSaito1 @bilal-08
lyrics [query]
will fetch the lyrics of the song
Recommendation : Do push everything except query text to read more
of the WA Message
Sticker command no response or says "you didn't provide any image/video to convert"
So game is based on card like structure! The bot will send randomly a pic of characters eye in a card alike structure just like Pokémon game
Take this above pic as an example. So if u wanna claim "prefix" claim chara name
Thats all the concept!
2nd one meme cmd.
Actually am not sure about this i found one api for this cmd "meme" which seems pretty intresting
Link: https://github.com/AnimuAPI/Animu
Add if its good thats all!
1.bgsticker
=>Removes bg ( transparent) of gifs and convert to sticker without bg!
2.go-i
=> Usage> go-i kirito | 12
_will give you 12 images of kirito from google /pinterest/any other etc:
(Only reccomendation)
3.rename well | well
=> Will give you sticker with name well • well
(This is a selfish request tbh👀, so developers do only if interested)
Thanks,
I could deploy the app in heroku but the QR code isn't showing up.
Disabled Commands from Disable
shouldn't show up in help
command.
And to enable it, MODS need access to list of disabled Commands hence,
Command status
for MODS
enable 🆗 / disable ⛔
flaglike this api
https://api.mfarelsz.xyz/api/magernulis1?text=indeed
api ded tho
it will make image and add indeed as text in generated image
so what i want is
how to i fetch and send this Image/sticker
and how do i change the text = name property
to user entered argument?
command yts [query]
which will give the list of youtube search results with link and metadata.
heroku always loading and in console log its say
Error: Property set failed: object in path "github" could not be found. at vendor-00550ac8c2574d830af4510acc3bbcf4.js:2650 at Re (vendor-00550ac8c2574d830af4510acc3bbcf4.js:2650) at n.set (vendor-00550ac8c2574d830af4510acc3bbcf4.js:3297) at dashboard-c2924ddbbba6c769596c67ff5cf97be8.js:6303 at E (vendor-00550ac8c2574d830af4510acc3bbcf4.js:5457) at _ (vendor-00550ac8c2574d830af4510acc3bbcf4.js:5455) at t.invokeWithOnError (vendor-00550ac8c2574d830af4510acc3bbcf4.js:4978) at e.t.flush (vendor-00550ac8c2574d830af4510acc3bbcf4.js:4970) at e.t.flush (vendor-00550ac8c2574d830af4510acc3bbcf4.js:4984)
Requesting a feature to Toggle on/off a command of the bot.
This command can only be used by MODS of the respective BOT
Way to achieve this : My approach
Add one more parameter to the constructor
super(client, handler, {
command: 'command_goes_here',
description: 'command description',
category: 'category',
usage: `${client.config.prefix}command`,
isAvailable : true
}
will this approach work?
And where all do I need to make changes?
src/lib/BaseCommand.ts
all commands constructor
anywhere else?
Add :
Mal scrapper
Reddit scrapper
what about adding Newspaper scrapper?
What about adding a dedicated section for weebs in void, like in xre or re?
In short, if you don't mind add the anime, manga, character, ani-wallpapers etc command
Additional requests:- Sauce finder and haigusha command :v
Looking forawrd to it👀
misunderstanding 🤦
Issue is solved. It was because of different bug which has been spotted.
command search [query]
which will fetch the search results using any one of the search engine like google, bing, yahoo, duckduckgo and show page 1 results
Also recommendation to force push everything except first result into read more
of the WAmessage
user can birthday DDMM
to give his birth-day
and will receive a personal message Happy Birthday
on his birthday.
Easy to implement with Good benefits :
Approach :
One more field in Users collection.
Everyday at 00:00 loop over Users table (repeat example) and send message if birthday matches.
My Approach :
chess @player1 @player2 (self if no second parameter given)
will start the game.@player1 played %move. Now it's @player2's turn.
chess QUIT
will quit the game and the person sending the message will be considered as lost.For example,
Consider 3 characters
Refer this for Chess notations
Game has began between @Player1(white) & @player2(black)
@Player1 played e4. Now it's @player2's turn.
@player2 played e5. Now it's @Player1's turn.
@Player1 played Bc4. Now it's @player2's turn.
@player2 played Nc6 Now it's @Player1's turn.
@Player1 played Qf3. Now it's @player2's turn.
@player2 played Nd4. Now it's @Player1's turn.
@Player1 played replaced f7 pawn with Queen and has threatened the opponent king.
It's a checkmate!!! @Player1 has won 🥳 🔥
Drop a comment if you have any doubts or need any clarification on my idea.
Further ideas :
Adding rating system as per Elo_rating_system
Resources :
https://www.chess.com/terms/elo-rating-chess
https://www.omnicalculator.com/sports/elo
It basically is a rating system dependent on your opponent rating.
For example :
@possible exploits :
chess ff
on repeat to gain rating : Limiting Maximum number of chess ff
or chess ratedChallenge
might solve this problem.A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.