Unify error message
This commit is contained in:
@@ -61,7 +61,7 @@ export default {
|
|||||||
|
|
||||||
const user = await resolveUser(client, idToUse);
|
const user = await resolveUser(client, idToUse);
|
||||||
|
|
||||||
if (!user) return interaction.editReply("Couldn't find user.");
|
if (!user) return interaction.editReply('User not found.');
|
||||||
|
|
||||||
const e621Id = interaction.options.getInteger('e621-id', true);
|
const e621Id = interaction.options.getInteger('e621-id', true);
|
||||||
|
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ export default {
|
|||||||
|
|
||||||
const user = await resolveUser(client, idToUse);
|
const user = await resolveUser(client, idToUse);
|
||||||
|
|
||||||
if (!user) return interaction.editReply('User not found');
|
if (!user) return interaction.editReply('User not found.');
|
||||||
|
|
||||||
if (subcommand == 'add') {
|
if (subcommand == 'add') {
|
||||||
const reason = interaction.options.getString('reason', true);
|
const reason = interaction.options.getString('reason', true);
|
||||||
|
|||||||
Reference in New Issue
Block a user