mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-26 21:14:19 +00:00
💥 *things happened here*
This commit is contained in:
parent
ab9e40c5fb
commit
812d16ab06
2 changed files with 9 additions and 15 deletions
16
royalnet.iml
16
royalnet.iml
|
@ -2,21 +2,7 @@
|
|||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/docs/source" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/docs/source/_static" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/royalnet" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/royalnet/alchemist/tests" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/royalnet/engineer/tests" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/royalnet/lazy/tests" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/royalnet/scrolls/tests" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/royalnet/tests" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/royalnet/.pytest_cache" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/.pytest_cache" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/dist" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/docs/build" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/royalnet.egg-info" />
|
||||
</content>
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="jdk" jdkName="Poetry (royalnet)" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
|
|
|
@ -5,6 +5,7 @@ import datetime
|
|||
|
||||
if t.TYPE_CHECKING:
|
||||
from .channel import Channel
|
||||
from .user import User
|
||||
from .button_reaction import ButtonReaction
|
||||
|
||||
|
||||
|
@ -41,6 +42,13 @@ class Message(BulletContents, metaclass=abc.ABCMeta):
|
|||
"""
|
||||
raise exc.NotSupportedError()
|
||||
|
||||
@ap.async_property
|
||||
async def sender(self) -> t.Optional["User"]:
|
||||
"""
|
||||
:return: The :class:`.User` who sent this message.
|
||||
"""
|
||||
raise exc.NotSupportedError()
|
||||
|
||||
@ap.async_property
|
||||
async def files(self) -> t.Optional[t.List[t.BinaryIO]]:
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue