Python
server temizleme(insanlardan)
owner id degis
python
import discord
from discord.ext import commands
import asyncio
OWNER_ID = 1234567890987654321
intents = discord.Intents.all()
bot = commands.Bot(command_prefix=".", intents=intents)
def is_owner(ctx):
return ctx.author.id == OWNER_ID
@bot.command()
@commands.check(is_owner)
asy