Comments (4)
Yes, tellable6 should start responding to private messages. It's blocked by default here because there are all kinds of damage you can do via private messages (in case of tellable it can be something stupid like sending a message to each user on the channel resulting in annoying bot spam). Better safe than sorry, but in case of tellable6 we should probably be a bit more permissive.
As for normalize-weirdly, it's designed to be that way. For example, it's so that when you send a message to Coke
(which users do often) it gets received by [Coke]
and vice versa. Yes, these are distinct nicknames and of course different users can have them at the same time, but in practice that never happens on our channels. This function was designed by analyzing messages that were never delivered by the previous bot, and it works like a treat. Technically it's wrong, but reality is that users are constantly changing their nicknames and people don't remember all the intricate details of every nickname.
from whateverable.
Btw, looking at normalize-weirdly
: underscores are valid nick characters, so I think this may cause bad behavior for users with underscore-containing nicks?
A valid PCRE for valid nicks not including Unicode extensions is:
/\A[a-z_\-\[\]\\^{}|`][a-z0-9_\-\[\]\\^{}|`]*\z/i
And the Unicode extensions (which should be pretty easy to add in Raku) are shown here.
from whateverable.
Actually, that last comment doesn’t belong here. I’ll promote it to its own issue.
from whateverable.
I'm pretty sure this is now working (some bots will start responding to private messages after they're updated). Tests needed.
from whateverable.
Related Issues (20)
- Automatic tell shouldn't work for bridged users HOT 1
- Tellable should format CTCP ACTION HOT 1
- How old are you?
- tellable and perhaps other bots should support s/foo/bar/ messages
- tellable and perhaps other bots should support ^^ messages
- Rakudo 2019.10 is now relocatable, use that to avoid locks HOT 1
- Tellable commands should count as messages
- Test ticket (please ignore)
- Can't install because of `Sake` dep instead of `sake` HOT 3
- Bot "thanks" regex is too permissive HOT 2
- Type check failed in push to Buf; expected uint8 but got Str HOT 1
- nick recognition and normalization is wrong HOT 1
- Refactoring, cleanup, tests (2020) HOT 1
- Automatically detect wrong bisection results due to flapping code HOT 1
- Tellable doesn't say anything when it intentionally discards messages
- GLOBAL symbol failure on install HOT 7
- fails on install with "...Redeclaration of symbol 'Message'...." HOT 4
- The state of Whateverable (2023 server migration) HOT 6
- Replace lrzip with zstd HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whateverable.