{"id":16759345,"url":"https://github.com/peco2282/messageexpander","last_synced_at":"2025-09-14T07:16:14.250Z","repository":{"id":57699287,"uuid":"502563785","full_name":"peco2282/MessageExpander","owner":"peco2282","description":"discordのメッセージ展開機能","archived":false,"fork":false,"pushed_at":"2022-07-22T01:18:10.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T19:02:48.258Z","etag":null,"topics":["bot","discord","discord-bot","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peco2282.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-12T08:48:48.000Z","updated_at":"2023-03-10T12:27:43.000Z","dependencies_parsed_at":"2022-09-26T21:12:15.018Z","dependency_job_id":null,"html_url":"https://github.com/peco2282/MessageExpander","commit_stats":null,"previous_names":["peco2282/expander"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peco2282%2FMessageExpander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peco2282%2FMessageExpander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peco2282%2FMessageExpander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peco2282%2FMessageExpander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peco2282","download_url":"https://codeload.github.com/peco2282/MessageExpander/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243844056,"owners_count":20356965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","discord","discord-bot","python"],"created_at":"2024-10-13T04:07:55.219Z","updated_at":"2025-03-16T08:26:11.521Z","avatar_url":"https://github.com/peco2282.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Message Expander\n\n## example\n### message\n\n![message](https://gyazo.com/aa8fe1fc884b79ed1e0488747898f923.png)\n\n### attachment\n![attachment](https://gyazo.com/cb811c7ca4bcb1ed9a299bbc9d43c9fb.png)\n\n### embed\n![embed](https://gyazo.com/dd0035964d3bed5d06be626a33300ac7.png)\n\n## Setting...\n\n```shell\n$ pip install -U dispand\n```\n\n## Usage...\n\n```python\nimport discord\nfrom dispand import message_expander\nfrom discord.ext import commands\n\nbot = commands.Bot(\n    intents=discord.Intents.all()\n)\n\n@bot.event\nasync def on_message(message: discord.Message):\n    #　statements...\n    await message_expander(bot=bot, message=message)\n```\n\nelse if you use extention...\n\n```python\nimport discord\nfrom discord.ext.commands import Bot\n\nINITIAL_EXTENTIONS = [\n    ...,\n    \"dispand\"\n]\n\n\nclass Main(Bot):\n    def __init__(self, **options):\n        super().__init__(**options)\n\n    async def on_ready(self):\n        for cog in INITIAL_EXTENTIONS:\n            self.load_extension(cog)\n\n        print(self.user.id)\n        print(self.user.name)\n        print(\"--------------\")\n\n\nif __name__ == '__main__':\n    Main(\n        command_prefix=...,\n        intents=discord.Intents.all(),\n        help_command=...\n    ).run(\"TOKEN\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeco2282%2Fmessageexpander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeco2282%2Fmessageexpander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeco2282%2Fmessageexpander/lists"}