Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Music Functions

Charlotte edited this page Sep 27, 2021 · 1 revision

Music functionality is not a unique perk to Discord bots, however it will soon become rarity as the Google owned company YouTube begins to further crack down on larger/public bots. Unfortunately, both Groovy & Rhythm have been hit at this point.

Rhythm

However, given that Fembot is essentially underneath the radar - I do not expect to be hit with a C&D. If I ever am, of course that particular functionality will be disabled Fembot's / removed services & offerings.

upon running the ^play command fembot will attempt to create a source via gathering a stream or downloading. The user may either use a YT link or attempt keyword search.

Currently fembot is configured for downloading sources, as it provides the most stable audio performance.

        # If download is False, source will be a dict which will be used later to regather the stream.
        # If download is True, source will be a discord.FFmpegPCMAudio with a VolumeTransformer.
        source = await YTDLSource.create_source(ctx, search, loop=self.bot.loop, download=True)
help
Clone this wiki locally