0.3 #146

Merged
edraft merged 359 commits from 0.3 into master 2023-01-12 07:04:40 +01:00
Showing only changes of commit 12369cdbe3 - Show all commits

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