Skip to content

Commit

Permalink
some text changes to auto banning
Browse files Browse the repository at this point in the history
  • Loading branch information
apmapmapm committed Dec 5, 2023
1 parent 6da51d7 commit 2a72b6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mastermelon/anti_mindus_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ async def vkick_anti_bot(message,bot,autoban_counts):
autoban_counts[0] +=1
ban_command = message.content.split("\n")[2] # ban by ip
ban_command= ban_command.split('-1 "')[1][:-1]
await autoban_message.channel.send(f"☠️{autoban_counts[0]} this is the send command to servers: "+ban_command+"\nsending command")
username = "username" # todo, add username into plugin report
await autoban_message.channel.send(f"☠️{autoban_counts[0]} ban user: `{username}`. "+ban_command+"\nsending command")
await console_commands.sendcommandtoserver(autoban_message,-1,ban_command,False)

async def plugin_anti_bot(message,bot,autoban_counts):
Expand Down

0 comments on commit 2a72b6a

Please sign in to comment.