kangalio

Results 168 comments of kangalio

Is this sort of sophisticated spam bot detection desired? Is the proposed behavior (members over a certain number of messages won't be banned from forbidden words) good, or is there...

How would this work in detail? Can anyone give points to anyone else, without any reason? Are there rate limits? Is there a purpose to having these points? What's the...

This issue can be closed; quote from Melo: > and yeah, just drop the melopoints stuff, lol > it's a 2019 meme

It's possible your Cargo.toml contains a different serenity version than the one poise uses, which means the two mismatching serenity Context types only mismatch because they're of two different versions.....

TryInto shouldn't be implemented explicitly, you should implement TryFrom instead. See https://doc.rust-lang.org/std/convert/trait.TryInto.html#implementing-tryinto Also, TryInto/TryFrom in general is the wrong choice here. Similarly to From/Into, TryFrom/TryInto should be used to convert...

Hi, thanks for the fix! Reading the code comments in the removed code, I would prefer you make the fallback string configurable, bc for dynamic prefixes, an empty string is...

Loop over the key-value pairs and remove those with a null. You can do that for example with Map's retain method: `map.retain(|_key, value| !value.is_null());`

I suspect this won't be merged as-is. It is a rather opinionated feature for such a fundamental crate. Also, it's not ready needed: `object["A"]["B"]["C"]` works.