Skip to content

Commit

Permalink
Merge pull request #37 from matthewflegg/v1.1.6
Browse files Browse the repository at this point in the history
Updated music UI - v1.1.6
  • Loading branch information
v0idzdev authored Apr 7, 2022
2 parents e9e9f78 + d9dd6f0 commit 1cfb63f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cogs/music/music_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ async def queue(self, ctx: commands.Context):
upcoming = list(itertools.islice(player.queue._queue, 0, 5))

fmt = "\n\n".join(
f'➡️ **{i + 1}**: *{song["title"]}*' for i, song in enumerate(upcoming)
f'➡️ **{i + 1}**: {song["title"]}' for i, song in enumerate(upcoming)
)
embed = discord.Embed(
title=f"🎧 Music Queue | {len(upcoming)} Songs",
Expand Down Expand Up @@ -339,7 +339,7 @@ async def volume(self, ctx: commands.Context, *, vol: float):

embed = discord.Embed(
title="🎧 Volume Changed",
description=f"🔊 **{ctx.author}**: Set the volume to *{vol}%*",
description=f"🔊 **{ctx.author.name}**: Set the volume to *{vol}%*",
)
await ctx.send(embed=embed)

Expand Down
4 changes: 2 additions & 2 deletions cogs/music/music_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ async def player_loop(self):
except ValueError as ex:
error_embed = discord.Embed(
title="👎 Discord.py Error",
description=f"🐍 Discord.py encountered an internal error.\n{ex.args}",
description=f"🐍 Discord.py encountered an internal error.\n`{ex.args}`",
)

error_embed.set_footer(
text="❓ This may be because we are using Discord.py V2.0.0-alpha."
text="❓ This may be because we're using Discord.py V2.0.0-alpha."
)

await self._channel.send(embed=error_embed)
Expand Down
2 changes: 1 addition & 1 deletion cogs/role/role_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def reactrole(
Usage:
```
~reactrole | ~crr <emoji> <@role> <message>
```
```
"""
embed = discord.Embed(description=message)
msg = await ctx.channel.send(embed=embed)
Expand Down

0 comments on commit 1cfb63f

Please sign in to comment.