This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Code For RoleAll command which will add the desired role to all the members in the server!! | |
import discord | |
from discord.ext import commands | |
import asyncio | |
intents = discord.Intents(messages = True, guilds = True, members = True) | |
#Note - You need to enable Members intent from discord developers portal if you haven't already | |
bot = commands.Bot(command_prefix="Bot_Prefix_Here", intents = intents) |