aboutsummaryrefslogtreecommitdiff
path: root/examples/basic_voice.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-02-23 04:10:10 -0500
committerRapptz <[email protected]>2019-02-23 04:10:10 -0500
commitcaf3d17d4aa3ce45435bb96ea6d99317bfef8618 (patch)
treed8bff0494efd7ba51d011ab4b7a9d30009eeae6d /examples/basic_voice.py
parent[commands] Fix up wording on HelpFormatter.get_ending_note (diff)
downloaddiscord.py-caf3d17d4aa3ce45435bb96ea6d99317bfef8618.tar.xz
discord.py-caf3d17d4aa3ce45435bb96ea6d99317bfef8618.zip
Rework entire cog system and partially document it and extensions.
Diffstat (limited to 'examples/basic_voice.py')
-rw-r--r--examples/basic_voice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic_voice.py b/examples/basic_voice.py
index 63c0b7fe..048f5cf0 100644
--- a/examples/basic_voice.py
+++ b/examples/basic_voice.py
@@ -52,7 +52,7 @@ class YTDLSource(discord.PCMVolumeTransformer):
return cls(discord.FFmpegPCMAudio(filename, **ffmpeg_options), data=data)
-class Music:
+class Music(commands.Cog):
def __init__(self, bot):
self.bot = bot