Git Product home page Git Product logo

Comments (6)

PinkishCow avatar PinkishCow commented on July 19, 2024

Nom_De_Plume: Rosario Dawson
gachiGASM
Rosario Dawson
DatGeoff
Rosario Dawson
Nom_De_Plume muted by Bot_v2_Beta
Bot_v2_Beta: 2m Nom_De_Plume: 0.608740885039013% = your past text

Maybe the maths is just off somewhere?

from bot2.

dharmaturtle avatar dharmaturtle commented on July 19, 2024

Maths is off, it is using Average of all the similarities instead of the Max. Already fixed, will run the new version... at least when the stream goes live.

from bot2.

vaindil avatar vaindil commented on July 19, 2024

@dharmaturtle Are the mute lengths accurate though? 42 minutes seems pretty extreme.

from bot2.

dharmaturtle avatar dharmaturtle commented on July 19, 2024

Mute lengths are accurate.

He was pasting:

Dranzogger: : >Destiny if you're reading this then I have to say that this was very distasteful. You're saying a wonderful thing though,الله أكبر, which can be interpreted as Allah (God) is the greatest. But since you aren't a Muslim, I assume and therefore aren't saying it sincerely, you can see how you come across surely? Please be respectful of other peoples' religions. It's something that decent human beings should be doing anyways. [I hope i dont get muted for posting muslim speak]

Mute lengths now scale with the length of the spam, where previously they were just 10m. This is due to chat's willingness to accept the mute and paste absurdly long sentences regardless of the mute.

In the future, I may make mutes stack depending on if there were previous occurrences of other other pastes, but that's a feature I'll not have time to implement for at least a week.

If you have a preferred mute length in mind, let me know.

from bot2.

vaindil avatar vaindil commented on July 19, 2024

Gotcha, that makes sense, I suppose I could've looked at the source to find that myself.

My only suggestion would be to drop the length if the matched text is a link. I know Cake's mute was because Destiny asked for a link to something, he posted the link at the exact same time someone else did. 7 minutes seems a bit much for that.

from bot2.

dharmaturtle avatar dharmaturtle commented on July 19, 2024

Meh, why read code when you can avoid it? :]

Links pose an interesting problem. I don't want to drop them entirely, otherwise we'd be vulnerable to stupidly long URLs. However, they do deserve more leniency. A user can post a reddit link, and pasting a permalink to a comment yields a ban. Perhaps only start muting only after it has been posted X times.

Implementation of this feature will occur after mute stacking.

from bot2.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.