reduce access level for WolframAlpha and UrbanDictionary commands from 10 to 6
This commit is contained in:
parent
aedf0b0b43
commit
e1c0cd2286
@ -720,7 +720,7 @@ class WolframAlpha(BaseCommand):
|
|||||||
def __init__(self, torchlight) -> None:
|
def __init__(self, torchlight) -> None:
|
||||||
super().__init__(torchlight)
|
super().__init__(torchlight)
|
||||||
self.Triggers = ["!cc"]
|
self.Triggers = ["!cc"]
|
||||||
self.Level = 10
|
self.Level = 6
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _clean_text(text: str) -> str:
|
def _clean_text(text: str) -> str:
|
||||||
@ -828,7 +828,7 @@ class UrbanDictionary(BaseCommand):
|
|||||||
def __init__(self, torchlight) -> None:
|
def __init__(self, torchlight) -> None:
|
||||||
super().__init__(torchlight)
|
super().__init__(torchlight)
|
||||||
self.Triggers = ["!define", "!ud"]
|
self.Triggers = ["!define", "!ud"]
|
||||||
self.Level = 10
|
self.Level = 6
|
||||||
|
|
||||||
async def _func(self, message: List[str], player) -> int:
|
async def _func(self, message: List[str], player) -> int:
|
||||||
"""Execute definition lookup command."""
|
"""Execute definition lookup command."""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user