junepark678 / GIRRewrite

Line too long FLK-E501
Style
Minor
a year agoa year old
line too long (130 > 88 characters)
113        return giveaway
114    
115    @staticmethod
116    def add_giveaway(id: int, channel: int, name: str, entries: list, winners: int, ended: bool = False, prev_winners=[]) -> None:117        """
118        Add a giveaway to the database.
119        Parameters
line too long (90 > 88 characters)
313        await channel.send(embed=embed)
314
315    @staticmethod
316    async def on_member_kick(action: discord.AuditLogEntry, channel: discord.TextChannel):317        embed = discord.Embed(title="Member Left")
318        embed.color = discord.Color.purple()
319        embed.add_field(
line too long (114 > 88 characters)
 957    # Function for responding to the user
 958    # reply=True will cause the bot to reply to the user (discord function)
 959    @staticmethod
 960    async def respond(ctx, message: str=None, color=discord.Embed.Empty, embed=None, reply: bool=True, view=None): 961        if useEmbed:
 962            if embed is None:
 963                embed = discord.Embed(title=message, color=color)
line too long (124 > 88 characters)
 682            options=options
 683        )
 684    @staticmethod
 685    async def respond(message_reply, message: str=None, color=discord.Embed.Empty, embed=None, reply: bool=True, view=None): 686        if useEmbed:
 687            if embed is None:
 688                embed = discord.Embed(title=message, color=color)
line too long (223 > 88 characters)
 415        self.voice.stop()
 416        # Recreate ffmpeg object
 417        if isLocal or isDirectLink:
 418            self.current = await self.create_song_source(self._ctx, self.current.source.url, title=self.current.source.title, requester=self.current.source.requester, seek=seconds, duration=self.current.source.duration_int) 419        else:
 420            self.current = await self.create_song_source(self._ctx, self.current.source.url, requester=self.current.source.requester, seek=seconds)
 421        # Update volume