i just started using this cinch gem and using this framework to develop a bot.
facing an issue in this .I Wanted to bot send a message to a channel when anybody joins channel
Could anybody help me on this.
Code :
listen_to :join, method: :on_join
def on_join(m)
post_message(options(m,
opcode: 'join',
nick: m.user.nick,
line: "#{m.user.nick} use this link to get more info"))
could you please check and let me know is anything missing on this.