mirror of
https://github.com/System-End/Discord-Bot.git
synced 2026-04-19 16:28:26 +00:00
Remplace "text:" with "error:"
This commit is contained in:
parent
43e7be5bd7
commit
bda733bc1c
20 changed files with 20 additions and 20 deletions
|
|
@ -22,7 +22,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ module.exports = async (client, interaction, args) => {
|
|||
}, interaction);
|
||||
}
|
||||
else {
|
||||
return client.errNormal({ text: "No profile found! Open a profile with createprofile", type: 'editreply' }, interaction);
|
||||
return client.errNormal({ error: "No profile found! Open a profile with createprofile", type:'editreply' }, interaction);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue