From 12369cdbe397fb75e249b86dcac99a7bf4e22fff Mon Sep 17 00:00:00 2001 From: Nick Jungmann Date: Mon, 21 Nov 2022 18:20:23 +0100 Subject: [PATCH] Removed unused code for mass-move #20 --- .../src/modules/base/thread/mass_move_thread.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 kdb-bot/src/modules/base/thread/mass_move_thread.py diff --git a/kdb-bot/src/modules/base/thread/mass_move_thread.py b/kdb-bot/src/modules/base/thread/mass_move_thread.py deleted file mode 100644 index 83505efc..00000000 --- a/kdb-bot/src/modules/base/thread/mass_move_thread.py +++ /dev/null @@ -1,17 +0,0 @@ -import asyncio -import threading - -import discord -from cpl_discord.service import DiscordBotServiceABC - - -class MassMoveThread(threading.Thread): - - def __init__(self, bot: DiscordBotServiceABC, member: discord.Member, channel_to: discord.VoiceChannel): - threading.Thread.__init__(self, daemon=True) - self._bot = bot - self._member = member - self._channel_to = channel_to - - def run(self): - self._bot.loop.create_task(self._member.move_to(self._channel_to))