synac-chat / synac-legacy

Some IRC-like chat application that might become good one day
11 stars 1 forks source link

How do you message a bot? #10

Closed jD91mZM2 closed 6 years ago

jD91mZM2 commented 6 years ago

When you message a bot, do you message them like in Discord (which spams a lot), or like how it usually is in IRC (/msg )? Do other humans see the message?

ttofis commented 6 years ago

Gonna repeat my opinion on this: /msg should allow private messaging to normal users too. The receiver client should know the difference between an incoming normal message and an incoming "/msg" message. Also, messages received by "/msg" still should have their channels. Lastly, bots should be allowed to "/msg" and send normal messages too.

jD91mZM2 commented 6 years ago

I don't like the idea of /msging users, because it gives them a false sense of security, while everything still ends up being stored on the server. Unless we somehow merge E2E encryption and private messaging into one, which would actually be a cool idea.


Currently bots are exactly like normal users, no restrictions or benefits EXCEPT for being in the @​bots permission instead of @​humans. This will change when bots get their command system, but they will still be able to do most things humans can do, except if the server owner disallows it.

ttofis commented 6 years ago

So, if you don't want currently to implement private user chatting, the command shouldn't be named /msg. I suggest /bot or something

jD91mZM2 commented 6 years ago

/bot TimeyWimey timefor ELChris414? Meh.

ttofis commented 6 years ago

I don't say /bot is perfect, but you cannot name it /msg, because it will lead you to believe that it will also work on normal users.

jD91mZM2 commented 6 years ago

Maybe we make a different prefix for bots? !TimeyWimey timefor ELChris414

ttofis commented 6 years ago

That could definitely work!

jD91mZM2 commented 6 years ago

Follow-up question: Should there be any permission requirements for messaging a bot? Should bots somehow be able to define their own permissions?

ttofis commented 6 years ago

No permission requirements for messaging a bot. Why should they define their own permissions? I don't see the reason to have this. They should request permissions for them to function, but only the owner (or the role with permission changing allowance) can modify the permissions of the bot.

jD91mZM2 commented 6 years ago

Why should they define their own permissions?

Because they can define things like "may use this command", or "may use this bot". For example, imagine a DA DANK MEEMZ (if anybody else reads this in the future and doesn't know what that is, it's basically just an annoying bot that spits images at you when you mentioned keywords) that only got activated on certain people... yeah idk

ttofis commented 6 years ago

Hmm ok... I would say that can be done with work by them, not something the whole server needs to do. They can do their if statements and find if a man is in this attribute/role/group/whateverWeCallThis and do certain things. No need for the server to be involved in these stuff.