modif envoie message
This commit is contained in:
parent
11b9d93d82
commit
87860b4b6b
|
@ -20,7 +20,7 @@ module.exports = {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
const discordChannel = client.channels.resolve(reminder.channel);
|
const discordChannel = client.channels.resolve(reminder.channel);
|
||||||
discordChannel.send(
|
discordChannel.send(
|
||||||
`La SNCF vous présente ses excuses pour le retard <@${reminder.author}> ! tu m'as demandé de te rappeler\n\`\`\`${reminder.message}\`\`\` `
|
`La SNCF vous présente ses excuses pour le retard <@${reminder.author}> ! tu m'as demandé de te rappeler\n---------------------\n${reminder.message}`
|
||||||
);
|
);
|
||||||
updateDatabase();
|
updateDatabase();
|
||||||
database = database.filter((struct) => struct.uuid !== reminder.uuid);
|
database = database.filter((struct) => struct.uuid !== reminder.uuid);
|
||||||
|
@ -30,7 +30,7 @@ module.exports = {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
const discordChannel = client.channels.resolve(reminder.channel);
|
const discordChannel = client.channels.resolve(reminder.channel);
|
||||||
discordChannel.send(
|
discordChannel.send(
|
||||||
`<@${reminder.author}>, tu m'as demandé de te rappeler\n\`\`\`${reminder.message}\`\`\` `
|
`<@${reminder.author}>, tu m'as demandé de te rappeler\n---------------------\n${reminder.message}`
|
||||||
);
|
);
|
||||||
updateDatabase();
|
updateDatabase();
|
||||||
database = database.filter((struct) => struct.uuid !== reminder.uuid);
|
database = database.filter((struct) => struct.uuid !== reminder.uuid);
|
||||||
|
@ -58,7 +58,7 @@ module.exports = {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
const discordChannel = message.guild.channels.cache.get(salon);
|
const discordChannel = message.guild.channels.cache.get(salon);
|
||||||
discordChannel.send(
|
discordChannel.send(
|
||||||
`<@${reminderStruct.author}>, tu m'as demandé de te rappeler\n\`\`\`${reminderStruct.message}\`\`\` `
|
`<@${reminderStruct.author}>, tu m'as demandé de te rappeler\n---------------------\n${reminderStruct.message}`
|
||||||
);
|
);
|
||||||
updateDatabase();
|
updateDatabase();
|
||||||
database = database.filter(
|
database = database.filter(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user