Skip to content

Commit 2484d1a

Browse files
authored
Update permissions for discord bot (#54)
Expands opportunities for future modules. Adds the following permissions; * Manage Roles * Manage Channels * Change Nickname * Read Messages
1 parent f39bc7c commit 2484d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/discord.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default {
6161
methods: {
6262
redirect() {
6363
if (/^\d{18}$/.test(this.$refs.clientid.newValue)) {
64-
window.location.href = "https://discord.com/api/oauth2/authorize?client_id=" + this.$refs.clientid.newValue +"&permissions=536889360&scope=bot%20applications.commands";
64+
window.location.href = "https://discord.com/api/oauth2/authorize?client_id=" + this.$refs.clientid.newValue +"&permissions=1006652432&scope=bot%20applications.commands";
6565
}
6666
}
6767
}

0 commit comments

Comments
 (0)