modules/utils/paginator.py
async def show_bot_help(self):
        """shows how to use the bot"""

        self.embed.title = 'Using the bot'
        self.embed.description = 'Hello! Welcome to the help page.'
        self.embed.clear_fields()

        entries = (
            ('<argument>', 'This means the argument is __**required**__.'),
            ('[argument]', 'This means the argument is __**optional**__.'),
            ('[A|B]', 'This means the it can be __**either A or B**__.'),
            ('[argument...]', 'This means you can have multiple arguments.\n'
                              'Now that you know the basics, it should be '
                              'noted that...\n'
                              '__**You do not type in the brackets!**__')
        )

        self.embed.add_field(name='How do I use this bot?', value='Reading the bot signature is pretty simple.')

        for name, value in entries:
            self.embed.add_field(name=name, value=value, inline=False)

        self.embed.set_footer(text=f'We were on page {self.current_page} before this message.')
        await self.message.edit(embed=self.embed)

        async def go_back_to_current_page():
            await asyncio.sleep(30.0)
            await self.show_current_page()

        self.bot.loop.create_task(go_back_to_current_page())
shows how to use the bot
shows how to use the bot
shows how to use the bot
async def show_bot_help(self):
        self.embed.title = 'Using the bot'
        self.embed.description = 'Hello! Welcome to the help page.'
        self.embed.clear_fields()
        entries = (
            ('<argument>', 'This means the argument is __**required**__.'),
            ('[argument]', 'This means the argument is __**optional**__.'),
            ('[A|B]', 'This means the it can be __**either A or B**__.'),
            ('[argument...]', 'This means you can have multiple arguments.\n'
                              'Now that you know the basics, it should be '
                              'noted that...\n'
                              '__**You do not type in the brackets!**__')
        )
        self.embed.add_field(name='How do I use this bot?', value='Reading the bot signature is pretty simple.')
        for name, value in entries:
            self.embed.add_field(name=name, value=value, inline=False)
        self.embed.set_footer(text=f'We were on page {self.current_page} before this message.')
        await self.message.edit(embed=self.embed)
        async def go_back_to_current_page():
            await asyncio.sleep(30.0)
            await self.show_current_page()
        self.bot.loop.create_task(go_back_to_current_page())
async def show_bot_help ( self ) : self . embed . title = 'Using the bot' self . embed . description = 'Hello! Welcome to the help page.' self . embed . clear_fields ( ) entries = ( ( '<argument>' , 'This means the argument is __**required**__.' ) , ( '[argument]' , 'This means the argument is __**optional**__.' ) , ( '[A|B]' , 'This means the it can be __**either A or B**__.' ) , ( '[argument...]' , 'This means you can have multiple arguments.\n' 'Now that you know the basics, it should be ' 'noted that...\n' '__**You do not type in the brackets!**__' ) ) self . embed . add_field ( name = 'How do I use this bot?' , value = 'Reading the bot signature is pretty simple.' ) for name , value in entries : self . embed . add_field ( name = name , value = value , inline = False ) self . embed . set_footer ( text = f'We were on page {self.current_page} before this message.' ) await self . message . edit ( embed = self . embed ) async def go_back_to_current_page ( ) : await asyncio . sleep ( 30.0 ) await self . show_current_page ( ) self . bot . loop . create_task ( go_back_to_current_page ( ) )
shows how to use the bot
shows how to use the bot
"""shows how to use the bot"""
self