[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:
Will
2017-11-26 20:04:26 -05:00
committed by GitHub
parent 09ed5e67a6
commit 064e9b6bd0
3 changed files with 357 additions and 4 deletions

View File

@@ -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):
"""