mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-23 18:04:41 +02:00
Add Game
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
module.exports = {
|
||||
name: 'catsay',
|
||||
description: 'Faire parler les chat',
|
||||
async execute( message, args) {
|
||||
|
||||
message.delete()
|
||||
|
||||
const msg = args.join(" ")
|
||||
if (!msg) {
|
||||
return message.channel.send("Quel message veux tu que le chat dise ?")
|
||||
}
|
||||
message.channel.send({
|
||||
files: [
|
||||
{
|
||||
attachment: `https://cataas.com/cat/cute/says/${msg}`,
|
||||
name: "catsay.png",
|
||||
}
|
||||
]
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user