panini-devs / bismarck Goto Github PK
View Code? Open in Web Editor NEWMultipurpose discord bot written in rust!
License: GNU General Public License v3.0
Multipurpose discord bot written in rust!
License: GNU General Public License v3.0
Sup, @ROLFAN here!
In the end I will try to implement the wish simulator, so I need some information so I can know how to design the database.
Taking into account the following schema:
-- Wish Simulator Schema
CREATE TABLE IF NOT EXISTS wish_simulator (
user_id BIGINT NOT NULL,
entertwined_wishes INTEGER NOT NULL DEFAULT 0,
limited_wishes_placeholder INTEGER NOT NULL DEFAULT 0, -- I forgor the name
primos INTEGER NOT NULL DEFAULT 3200,
standard_wishes_count INTEGER NOT NULL DEFAULT 0,
limited_wishes_count INTEGER NOT NULL DEFAULT 0,
character_list TEXT NOT NULL DEFAULT '[]',
character_count INTEGER NOT NULL DEFAULT 0,
weapon_list TEXT NOT NULL DEFAULT '[]',
weapon_count INTEGER NOT NULL DEFAULT 0,
PRIMARY KEY (user_id)
);
I guess that for each user it's desired to keep track of the amount of gacha roles, both in the standard wishes and the limeted ones (which I suppose are the event wishes), the characters they have got, and the weapons. However, I don't know what the purpose of the entertwined_wishes
and primos
entries are, it would be nice if someone could tell me.
In addition telling me which features should be implemented would be cool.
Thank you!
See SQLite Schema
User stored in DB must have:
Character
objects that they have obtainedWeapon
objects that they have obtainedCharacter
object:
Weapon
object:
Considering the lack of array support in SQLite, this would be difficult to implement. Change schema to fit PostgreSQL would be acceptable but doing this in SQLite is preferable as hosting a Postgres database is somewhat of a pain.
Currently chunks implementation to paginate warnings command to avoid embed character overflow.
Iterating through the chunk is an issue and this needs further work, currently stashing changes until a solution can be devised.
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.