mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-22 02:37:57 -05:00
[V3 Help] Convert help command to support embeds (#1106)
* Replace built in help with embedded help * Make embeds pagify * Fix thingy * Fix missing embed permissions
This commit is contained in:
@@ -16,6 +16,7 @@ from . import (
|
||||
RedContext,
|
||||
rpc
|
||||
)
|
||||
from .help_formatter import Help, help as help_
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
@@ -95,7 +96,11 @@ class RedBase(BotBase, RpcMethodMixin):
|
||||
|
||||
self.register_rpc_methods()
|
||||
|
||||
super().__init__(**kwargs)
|
||||
super().__init__(formatter=Help(), **kwargs)
|
||||
|
||||
self.remove_command('help')
|
||||
|
||||
self.add_command(help_)
|
||||
|
||||
async def _dict_abuse(self, indict):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user