Message Expander
example
message
attachment
embed
Setting...
$ pip install -U expander
Usage...
import discord
from expand import message_expander
from discord.ext import commands
bot = commands.Bot(
intents=discord.Intents.all()
)
@bot.event
async def on_message(message: discord.Message):
# statements...
await message_expander(bot=bot, message=message)
else if you use extention...
import discord
from discord.ext.commands import Bot
INITIAL_EXTENTIONS = [
...,
"message_expander"
]
class Main(Bot):
def __init__(self, **options):
super().__init__(**options)
async def on_ready(self):
for cog in INITIAL_EXTENTIONS:
self.load_extension(cog)
print(self.user.id)
print(self.user.name)
print("--------------")
if __name__ == '__main__':
Main(
command_prefix=...,
intents=discord.Intents.all(),
help_command=...
).run("TOKEN")
Metadata
Release files for dispand 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dispand-1.0.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dispand-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / dispand-1.0.0.tar.gz
| Download URL | dispand-1.0.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e02bc1e4d5ed3da4068d7bda3052449410ebae3f326612a83dd19109acdfa800
|
|
BLAKE2b-256 checksum How to use checksums |
5b8c32848a59746821a400c3a610ef206544a9baff389a12cafc3216ca60e2cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / dispand-1.0.0-py3-none-any.whl
| Download URL | dispand-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ccd315c930b530daa90d8f77b4a6f77422f97075ed27dae01b4288feee1d302
|
|
BLAKE2b-256 checksum How to use checksums |
741005d387e4fc77eb0b3d209cbee2b29c04ed0f5ffe363df08fda38545ddaea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|