Removed unused code for mass-move #20

This commit is contained in:
Nick Jungmann 2022-11-21 18:20:23 +01:00
parent 25c698273a
commit 12369cdbe3

View File

@ -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))