bigint support
Pho3niX90 opened this issue · comments
Pho3niX90 commented
Simple example:
@Command("find :search")
async execute(command: CommandMessage) {
const search = command.args.search;
console.log("test " + search);
}
find 76561198007433923
would yield test 76561198007433920
Ramiro Rivera commented
I found the same problem today, I ended up prefixing my arguments with another symbol, which is less than ideal
David commented
I think this is mostly just an issue with the fact that every integer arg is automatically converted to an actual integer. Wouldn't this behavior be solved by always passing the arg on as a string and letting the consuming function decide what to do with it? In a way, related to issue #18
Pho3niX90 commented
@iDavidB it would definitely solve the issue at hand.