mirror of
https://github.com/Rushilwiz/2023bot.git
synced 2025-04-03 19:40:17 -04:00
fixed the damn bot
This commit is contained in:
parent
1ff4398f12
commit
7ef1940d1e
5
bot.py
5
bot.py
|
@ -333,10 +333,7 @@ async def get_members(ctx):
|
|||
guild = ctx.guild
|
||||
members = '\n'.join([member.display_name for member in guild.members])
|
||||
await ctx.send(f'Guild Members:\n{members}\n Total: {len(members)}')
|
||||
for member in guild.members:
|
||||
if member. == 278537478875381771:
|
||||
role = discord.utils.get(guild.roles, name="DJ")
|
||||
await member.add_roles(role)
|
||||
|
||||
|
||||
|
||||
@bot.command(name='create-roles')
|
||||
|
|
Loading…
Reference in New Issue
Block a user