poseic
2Kod
2Beğeni
4İzlenme
Paylaştığı Kodlar
Python
python
import discord
from discord.ext import commands
@bot.command()
@commands.has_permissions(administrator=True)
async def herkeserolver(ctx, rol: discord.Role):
"""Sunucudaki tüm üyelere belirtilen rolü toplu olarak verir."""
# Bot olmayan üyeleri filtrele
uyeler = [m for m in Python
python
import discord
from discord.ext import commands
import asyncio
TOKEN = "BOT TOKENIN BURAYA"
class MyBot(commands.Bot):
def __init__(self):
intents = discord.Intents.default()
intents.members = True
intents.message_content = True
super().__init__(comma