summaryrefslogtreecommitdiffstats
path: root/modules/date.rb
blob: 44c8ff9f55e381151be147ddb17148179d2b71b8 (plain)
1
2
3
4
5
6
def module_date(msg_body, sender_nick, config)
	if msg_body =~ /^!date/
		answer = `date "+%A %-d %B %Y à %HH %Mm %Ss et %Nns"`.chomp.capitalize
		return answer
	end
end