aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bot/package.json2
-rw-r--r--bot/src/commands/about.js5
2 files changed, 3 insertions, 4 deletions
diff --git a/bot/package.json b/bot/package.json
index 77ebecd..17d7d66 100644
--- a/bot/package.json
+++ b/bot/package.json
@@ -1,6 +1,6 @@
{
"name": "aleebot",
- "version": "4.0.0 Beta",
+ "version": "4.0.0",
"main": "src/bot.js",
"type": "module",
"author": "Andrew Lee",
diff --git a/bot/src/commands/about.js b/bot/src/commands/about.js
index 64dc5a4..330dd98 100644
--- a/bot/src/commands/about.js
+++ b/bot/src/commands/about.js
@@ -20,11 +20,10 @@ export default {
const botInvite = interaction.client.generateInvite({
permissions: [
PermissionFlagsBits.EmbedLinks,
- PermissionFlagsBits.SendMessages,
PermissionFlagsBits.ManageMessages,
PermissionFlagsBits.ViewAuditLog,
- PermissionFlagsBits.ViewChannel,
- PermissionFlagsBits.AddReactions
+ PermissionFlagsBits.AddReactions,
+ PermissionFlagsBits.AttachFiles,
],
scopes: [OAuth2Scopes.Bot, OAuth2Scopes.ApplicationsCommands]
});