blob: 9ef890877cb7962da2e4a4e953327aaf17af35c2 (
plain)
1
2
3
4
5
6
|
def module_version(msg_body, sender_nick, config)
if msg_body =~ /^!version/
answer = "#{config['bot'][0]['NAME'][0]} #{config['bot'][0]['VERSION'][0]} -> #{config['bot'][0]['DISTRIB'][0]}"
return answer
end
end
|