Skip to content

Commit 0580be4

Browse files
committed
remove old client test
1 parent 985e332 commit 0580be4

File tree

2 files changed

+6
-54
lines changed

2 files changed

+6
-54
lines changed

tests/bot.py renamed to bot.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from discord.ext import commands
1111

1212

13-
CONFIG: dict[str, Any] = toml.load('../swish.toml') # type: ignore
13+
CONFIG: dict[str, Any] = toml.load('swish.toml') # type: ignore
1414

1515

1616
class CD(commands.Bot):
@@ -114,7 +114,11 @@ async def connect(
114114
self_mute: bool = False,
115115
self_deaf: bool = True,
116116
) -> None:
117-
await self.voice_channel.guild.change_voice_state(channel=self.voice_channel, self_mute=self_mute, self_deaf=self_deaf)
117+
await self.voice_channel.guild.change_voice_state(
118+
channel=self.voice_channel,
119+
self_mute=self_mute,
120+
self_deaf=self_deaf
121+
)
118122

119123
async def disconnect(
120124
self,
@@ -142,7 +146,6 @@ async def play(self, ctx: commands.Context, *, query: str) -> None:
142146
) as response:
143147

144148
data = await response.json()
145-
print(data)
146149
await self.bot._send_payload(
147150
'play',
148151
data={'guild_id': str(ctx.guild.id), 'track_id': data[0]['id']},

tests/client.py

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)