2019-06-05 02:15:29 +02:00
|
|
|
main = {}
|
|
|
|
|
2019-06-05 03:37:50 +02:00
|
|
|
|
|
|
|
function main.on_message(await, client, message, ...)
|
2019-06-05 02:15:29 +02:00
|
|
|
print("I LOVE LUA")
|
|
|
|
print(message.content)
|
2019-06-05 03:37:50 +02:00
|
|
|
if message.author.bot == false then
|
|
|
|
await(message.channel.send("Tu n'es pas un bot"))
|
|
|
|
end
|
2019-06-05 02:15:29 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
return main
|