From 3e9e260304a8213a8a7f1ef2bdffb9ae1c566c5d Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sat, 16 Jan 2021 16:04:23 +0100 Subject: [PATCH] Minor refactor --- rmds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rmds.py b/rmds.py index f953d3f..16832b8 100755 --- a/rmds.py +++ b/rmds.py @@ -31,7 +31,7 @@ async def get_target_server(c): target = c.get_guild(int(inp)) if( target != None ): - await attack_server(target, c) + await clean_server(target, c) await c.close() else: print(f"\nUnknown server {inp}") @@ -44,7 +44,7 @@ async def on_ready(): print(f"\033[92mLogged in as \033[1m{c.user}\033[0m") await get_target_server(c) -async def attack_server(server, c): +async def clean_server(server, c): print(f"Wiping server: \033[1m{server} \033[0m") if( not key_valid("--noask") ):