if user_cooldowns[message.author.id]['count'] > 2: >> 3 d53ecd5 lunarflu HF staff commited on Oct 20, 2023
added 5s sleep for bans + joins to fix audit logs + mentions, also separated variable names for bans c621f1b lunarflu HF staff commited on Oct 19, 2023
fixing empty avatar issue avatar_url = member.avatar.url if member.avatar else bot.user.avatar.url embed.set_author(name=f"{member} ID: {member.id}", icon_url=avatar_url) 0aa24a3 lunarflu HF staff commited on Oct 16, 2023
Removing native discord embed link for linking to messages; leaving other embeds 0f50857 lunarflu HF staff commited on Oct 7, 2023
DM improvement message_link = f"[#{message.channel.name}]({message.jump_url})" await user.send(f"{number_of_messages}|{message_link}|{message.author}: {message.content}") 3b94d3a lunarflu HF staff commited on Oct 7, 2023
try accept added, async for entry in bot.guild.audit_logs(limit=5): print(f'{entry.user} did {entry.action} to {entry.target}') 3967fb1 lunarflu HF staff commited on Oct 1, 2023
[huggingmod][admin] content = "<@&1108342563628404747>" # @alerts role eb7e36e lunarflu HF staff commited on Oct 1, 2023