defendtheweb / NexBot

Node.js IRC bot
Other
8 stars 8 forks source link

!nextsee #59

Open lwward opened 10 years ago

lwward commented 10 years ago

When a user next joins a channel or speaks if they are already there then NexBot should post the message.

verath commented 10 years ago

Just some questions I thought of, and which might help someone that were to implement thus feature. This to me looks like a good feature for someone that wants to get involved in the development. It can be made basic to start with and then easily extended with more advanced features. :)

Would this be a targeted message at a specific username? As in;

Verath: !nextsee Flabby hello! 
Flabby joins the channel. 
NexBot: Flabby: hello! (from Verath)

So the command signature should something like !nextsee <name> <message>?

Maybe also have a PM option instead of always saying to the channel. Probably the same signature as above only the command is sent as a PM to NexBot?

Should it only allow messages at already existing users (using the user module) or should all be allowed? If all, there should probably be a limit somewhere.

lwward commented 10 years ago

The command signature that you have proposed is what I had in mind. Hadn't thought about PM but that would be a nice addition and not much more implementation I guess.

I reckon it should allow any username as the user module might not offer enough flexibility. What sort of limit are you thinking? To stop users spamming people as the join.

I would be important to consider that more than one message might be queued for each user.