mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-13 23:58:16 +02:00
grand commit que tutur attend ( marche pas le raidmode en dev)
sinon il y a pleins de truc comme les anti raid , des coorectif ect
This commit is contained in:
@@ -6,7 +6,7 @@ module.exports = {
|
||||
description: 'Proposez en mariage à un utilisateur',
|
||||
emote: '💍',
|
||||
category: 'game',
|
||||
utilisation: '+marry @user',
|
||||
utilisation: 'marry @user',
|
||||
async execute(message, args, client) {
|
||||
const targetUser = message.mentions.users.first() || message.guild.members.cache.get(args[0]);
|
||||
if (!targetUser) {
|
||||
@@ -28,7 +28,7 @@ module.exports = {
|
||||
.setStyle(ButtonStyle.Success),
|
||||
);
|
||||
|
||||
message.channel.send({ content: `${targetUser}`, components: [row] });
|
||||
message.channel.send({ content: `${targetUser} voulez vous vous marier avec <@${message.author.id}>`, components: [row] });
|
||||
},
|
||||
};
|
||||
async function checkIfMarried(userId, client) {
|
||||
|
||||
Reference in New Issue
Block a user