Perselisihan Python menunggu input pengguna
await ctx.send(f'Role {role.mention} was set as default role. Do you want to apply this to all users in the server? [YES/NO]')
def check(m):
return m.channel == ctx.channel
msg = await bot.wait_for('message', check=check, timeout=500)
checkcontinue = msg.content.lower()
if checkcontinue == 'yes':
await ctx.send(f'Assigning roles... This could take a little while!')
Justmarije