WIP REWRITE
karitham / waifubot Goto Github PK
View Code? Open in Web Editor NEWdiscord waifu / husbando gacha bot
License: MIT License
discord waifu / husbando gacha bot
License: MIT License
Is your feature request related to a problem? Please describe.
Someone gaves me a character already in my list and when I checked it, he was neither in mine and his.
Describe the solution you'd like
I would like to be able to stack duplicate character gained in trade.
Describe alternatives you've considered - optional
Gimme back my lost character :'(
Mobile users sometime have first letters caps, this would make the bot more user friendly
Is your feature request related to a problem? Please describe.
It's an idea of new feature that could be added to the bot for more fun.
Describe the solution you'd like
I want you to add a command w.trade/w.t @pseudo or w.exchange/w.e @pseudo that will trade 1 random character from each person of the duo if the second one accept the request by typing yes when he get pinged. I'm not sure about the second part but you could maybe also add a cancel command w.back/w.b that if written by both persons after the trade is done, gives back the characters to each one.
Additional context - optional
Don't forget to select characters that the other don't have to dodge bugs or duplicates characters.
Right now queries work, but are not as modular as I want them to and the code is bad.
I'm rewriting the queries to make them better, at least in the code
My feature request :
It could be great to have all the characters of a certain anime (all seasons included) displayed together.
Plus you can add the feature of sorting on your own waifugui.kar with a better integration.
The solution i propose :
It can be done by collecting the anime name and just sorting by alphabet order, you can just add it with the sorting on legonauzor gui (or your own gui)
An alternative :
Just adding a sorting feature on your own gui.
Add character names on give messages, such as
You have given Riko Saikawa to Tangauche
rather than
You have given 120972 to Tangauche
Dependabot can't resolve your Go dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
github.com/Karitham/WaifuBot/config: cannot find module providing package github.com/Karitham/WaifuBot/config
github.com/Karitham/WaifuBot/database: cannot find module providing package github.com/Karitham/WaifuBot/database
github.com/Karitham/WaifuBot/disc: cannot find module providing package github.com/Karitham/WaifuBot/disc
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Starting January 4th i've noticed drops are no longer happening in all the servers i'm in that are using the bot despite frequent use of different commands including /roll, /exchange and /give (previously 6 interactions triggered a character drop).
Has there been any changes recently that could have caused it?
Profile customization
It should be a good idea to add the link of your Anilist.co profile, in order to see additional information about someone, as their favorite waifus, which can be something useful for trading with others, and maybe a future feature for the waifugui.
Is your feature request related to a problem? Please describe.
It's a new feature that could be nice and useful.
Describe the solution you'd like
The idea is a command | w.search character owner ID/Name or w.s c o ID/Name | that show you the names of the users who have the character in their list. It could be possible that we don't know every persons who got the character so to avoid useless disagreement, you could also add a public or private statue that anyone could set on with the command w.profile private/public. That way, you can only show the users who put their profile in public.
Dropping random waifus when people speak would make people interact more with the bot and between themselves, which is something I think is important
Making random drops when people speak / use the bot, and giving users the ability to claim those dropped characters.
This issue is here to track the progress of implementing slash commands, which will bring the bot to its 1.0.0.
The goal is to unify the experience of using the bot, and to have it be simpler to use.
It's also a necessity since the bot is now in more than a hundred guilds, and since discord has restricted message listen permissing, using priviledged intents is not worth it
Is your feature request related to a problem? Please describe.
It is easier for Discord users to create threads when interacting with the bot, in case they're trading or doing some other interactions. Per https://discord.com/developers/docs/topics/threads, it is now possible for Bots to read and create threads, and also send, modify, and delete messages inside the threads.
Have waifus have stats that represent rarity and some sort of strengh, useful for some planned features
More diversity in rolled waifus, also allow users to interact in the future with their waifus, maybe with items etc
My feature request :
I would like to be able to exchange my characters that I am not interested in in my list against the possibility of making a free roll. This could be a useful feature to recycle our characters and reduce the size of our list.
The solution I propose :
It can be something like you get tokens when you /discard a character, and each 3, 4 or 5 tokens gives you the possibility to make a free bonus roll.
Make list usage smoother
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
With the potential of this bot, I think it'll be cool to have an token-accessible API to trade with other people using a 3rd party app
This could also permit you to update WaifuGUI, including a trading system inside the website, with certain conditions.
Technical Explanation
Consider 2 potential traders named User A and User B.
User A found in User B a waifu that interests him.
Using his Discord token, User A sends a trading request to User B via the trading API.
WaifuBot, with a webhook, intercepts the request and sends a DM to User B, telling that User A wants to trade with him.
User B, if the demand is accepted, will open the discussions.
User A and User B (inside the WaifuGUI website as an example), will discuss about the number of waifus to trade, and trading will be done using the same system.
If the request is rejected, it automatically sends a DM to User A telling that the demand was rejected.
This also prevents the use of Discord for trading, and opens the trading solutions outside of the server's zone.
(imagine two people that are from different servers but do use WaifuBot, it can lead to interesting things)
Lack of "/" commands.
Saddly when the commands "W.p W.g W.c" are down you can't switch to commands by /(something)
Like a /profil, /give or /claim. Like for the /roll
Ability to delete messages coming from the bot, would be useful to not clutter the chat with failed rolls
When a User that isnt registered yet in the database tries to use /roll or other features, it fails with the message "this interaction failed".
Trying to give these users a character via /give also fails, so they are effectivly locked out of using the bot.
Other users in my server that have been using the bot for a long time already can use it without troubles.
Lelouch should be banned from the bot.
A PR is coming soon.
There's a problem when you try to give a character that you don't have. There is the example on the attached picture.
The expected answer of the Bot should be like before with X does not own character Y
, but the bots return the answer You have given to 『 』
, as if you were giving the character, but without his name.
Give users ability to check their profile
Using a command like profile or an alias
Dependabot can't resolve your Go dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
github.com/Karitham/WaifuBot/config: cannot find module providing package github.com/Karitham/WaifuBot/config
github.com/Karitham/WaifuBot/db: cannot find module providing package github.com/Karitham/WaifuBot/db
github.com/Karitham/WaifuBot/disc: cannot find module providing package github.com/Karitham/WaifuBot/disc
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
As-is
New Claim
Someone Guess the Name
Bot roll for a new claim
Bot check the Message of the User
Bot validate or not the claim
To-be
New Claim
Someone guess the name
Bot check the Message of the User
Bot validate or not the claim
Bot roll for a new claim
Line 20 in c8a7c61
Help users use the bot
Also make basic help clearer
Parse args to see if they match a command, if so, display specific help
Give users ability to add a custom quote on their profile
More personalisation, more user friendly
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
As an extension to #69, add a /opentrades, and a /addtradeoffer command, in which permits users to give trade offers to all WaifuBot users (not limited to Discord servers). This could permit exchanges abroad users (and maybe some persons may encounter some nice people in the same instance !)
Technical explanation
On DB : "tradeoffers" DB, containing "discord_userID", "waifuToOffer", "additionalComment" (optional)
On WaifuBot : /opentrades -> DB interrogation : "SELECT * IN tradeoffers"
/addtradeoffer -> "Which waifu would you want to trade ?" -> user adds waifu -> "Any additional comments ?" -> user can add a comment -> "INSERT INTO tradeoffers"
(optional) In WaifuGUI : "Open Trades" -> List of waifus. On click on one offer, gives waifu, discord ID and comment;
Is your feature request related to a problem? Please describe.
No, it's a feature that could help everybody while searching someone in your list. It could be nice if there was a command to order our lists by name(alphabetic order)/anime (alphabetic order)/ make a list with only our favorites ones.
Describe the solution you'd like
w.list name/anime and w.favorite add id. You can check your favorite list by using w.listfavorite (w.lf) or w.favoritelist (w.fl)
Describe alternatives you've considered - optional
There could be a maximum characters in your favorite list based on your total number of waifu (15%, 100 waifu = 15 favorite)
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.