Python

타임아웃 감지

go

godstudio
답변 대기중
30 XP
import discord

client = discord.Client(intents=discord.Intents.all())

@client.event
async def on_member_update(member: discord.Member):  
    if member.status == discord.Status.timed_out:
        print(f"{member.name}님이 {member.timeout}초 동안 timeout 되었습니다.")

불러오는 중...