开发者

MOTD for channels

开发者 https://www.devze.com 2022-12-15 23:06 出处:网络
Is there a way to display a file/string of text to a user\'s channel output when a user joins a channel? Would this 开发者_开发百科have to happen serverside in the irc config or could a bot do the sam

Is there a way to display a file/string of text to a user's channel output when a user joins a channel? Would this 开发者_开发百科have to happen serverside in the irc config or could a bot do the same?


A bot could do it. Many servers, such as Freenode, support sending notices via the server's services to users upon joining a channel.


Either way you let a bot react on a join event and send a message (/msg) or a notice (/notice) to the user. Or you let the server send an entry message if the server supports this service. Most common you do this with "/chanserv set entrymsg my_message".

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号