Coder Social home page Coder Social logo

Comments (3)

asanrom avatar asanrom commented on July 22, 2024

test7213

I tested it and it does not trigger it.

Also the code is made to avoid that situation. First it runs an algoritm to get all server links from the message, then it compare them to the whitelisted ones. If there are one or more links not whitelisted in the message, the automated moderation will activate. See: https://github.com/Ecuacion/Pokemon-Showdown-Node-Bot/blob/master/features/moderation/index.js#L145-L161 and https://github.com/Ecuacion/Pokemon-Showdown-Node-Bot/blob/master/features/moderation/index.js#L369-L372

from pokemon-showdown-node-bot.

panpawn avatar panpawn commented on July 22, 2024

What if you just had thisismynewserver.psim.us smogtours?

from pokemon-showdown-node-bot.

asanrom avatar asanrom commented on July 22, 2024

test543w34

smogtours without .psim.us is considered as a random string, similar if you just use thisismynewserver.psim.us hello join my server

If you have screenshots or raw logs where this system is bypassed maybe I can figure out if it has a bug or is just one of these situations:

  • The user is excepted from automated moderation
  • The moderation for PS server links is disabled in the room
  • The chat message is a "|raw|" message (used frecuently to add emoticons or for declares) which is not considered a chat message by the bot (this bot only support "|c|" and "|c:|" standard chat messages)

from pokemon-showdown-node-bot.

Related Issues (20)

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.