Discord Role Hierarchy Prevents Bot Moderation: Fix

Your Discord moderation bot suddenly stops kicking, banning, or muting certain members. You check the bot’s permissions and they look correct. The problem is not the permissions themselves but Discord’s role hierarchy system. This article explains why role hierarchy blocks bot moderation actions and how to fix it by adjusting role positions. Key Takeaways: Fixing … Read more

Discord Slash Command Permission Missing for Role: Fix

When a role on your Discord server cannot use a slash command, the command appears grayed out or returns a permission error. This happens because the command’s default permissions, the role’s permission settings, or the command’s integration settings are blocking access. This article explains the three root causes of missing slash command permissions and provides … Read more

Fix Discord Bot OAuth Redirect Returning ‘Invalid Scope’ Despite Selected

When setting up a Discord bot, you may encounter an error page that says “Invalid Scope” after authorizing the bot through the OAuth2 flow, even though you carefully selected the correct scopes in the Discord Developer Portal. This error stops the bot from joining your server and prevents any functionality from being granted. The root … Read more

How to Build a Discord Bot With Slash Commands Using discord.py 2.0

You want to create a Discord bot that uses slash commands instead of traditional prefix-based commands. Slash commands appear in the user interface and provide autocomplete, required options, and permission controls. This article walks through building a basic bot with Python 3.8 or later using the discord.py 2.0 library. You will learn how to set … Read more