Remplace "text:" with "error:"

This commit is contained in:
Jordan 2022-10-10 12:16:08 -05:00
parent 43e7be5bd7
commit bda733bc1c
20 changed files with 20 additions and 20 deletions

View file

@ -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);
}
})
}

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})
}

View file

@ -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);
}
})
}

View file

@ -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);
}
})
}

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})

View file

@ -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);
}
})
}

View file

@ -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);
}
})
}