diff --git a/commands/admin/tag.js b/commands/admin/tag.js index 7e0f2e3..fc34983 100644 --- a/commands/admin/tag.js +++ b/commands/admin/tag.js @@ -56,7 +56,7 @@ export default { return interaction.editReply('successfully deleted the following tag: ' + args.trigger); } else { - return interaction.editReply(`You are not the owner of this tag, if you think it is problematic ask an admin to remove it by doing ${this.client.commandHandler.prefix[0]}tag ${args.trigger} --remove`); + return interaction.editReply(`You are not the owner of this tag, if you think it is problematic ask a user with the 'Administrator' permission to remove it by doing ${this.client.commandHandler.prefix[0]}tag ${args.trigger} --remove`); } } else { diff --git a/commands/owner/download&load.js b/commands/owner/download&load.js index 48e8930..efaccea 100644 --- a/commands/owner/download&load.js +++ b/commands/owner/download&load.js @@ -18,7 +18,7 @@ export default { const streamPipeline = util.promisify(stream.pipeline); const res = await fetch(args.file.url); - if (!res.ok) return interaction.editReply('An error has occured while trying to download your image.'); + if (!res.ok) return interaction.editReply('An error has occured while trying to download the command.'); await streamPipeline(res.body, fs.createWriteStream(`./tmp/${args.file.name}`)); let command = await import(`../../tmp/${args.file.name}`); diff --git a/commands/utility/about.js b/commands/utility/about.js index f57896c..1a76803 100644 --- a/commands/utility/about.js +++ b/commands/utility/about.js @@ -25,7 +25,7 @@ export default { for (let i = 0; i < Donator.length; i++) { const user = await client.users.fetch(Donator[i].get('userID').toString()); if (user !== null) { - description += `**${user.tag} (${user.id}) | ${Donator[i].get('comment')}**\n`; + description += `**${user.username} (${user.id}) | ${Donator[i].get('comment')}**\n`; } else { description += `**A user of discord (${user.id}) | ${Donator[i].get('comment')} (This user no longer share a server with the bot)**\n`; @@ -36,19 +36,19 @@ export default { description += 'No one :(\n'; } - description += `\nThanks to ${tina.tag} (336492042299637771) for inspiring me for making this bot!`; + description += `\nThanks to ${tina.username} (336492042299637771) for inspiring me for making this bot!`; // description += '\nThanks to Jetbrains for providing their IDE!'; exec('git rev-parse --short HEAD', (err, stdout) => { const aboutEmbed = new EmbedBuilder() .setColor(interaction.member ? interaction.member.displayHexColor : 'Navy') - .setAuthor({ name: client.user.tag, iconURL: client.user.displayAvatarURL(), url: 'https://libtar.de' }) + .setAuthor({ name: client.user.username, iconURL: client.user.displayAvatarURL(), url: 'https://libtar.de' }) .setTitle('About me') .setDescription(description) .addFields( { name: 'Current commit', value: stdout }, - { name: 'Current maintainer', value: `${maintainer.tag} (${ownerId})` }, + { name: 'Current maintainer', value: `${maintainer.username} (${ownerId})` }, { name: 'Gitea (Main)', value: 'https://git.namejeff.xyz/Supositware/Haha-Yes', inline: true }, { name: 'Github (Mirror)', value: 'https://github.com/Supositware/Haha-yes', inline: true }, { name: 'Privacy Policy', value: 'https://libtar.de/discordprivacy.txt', inline: true },