38 presents a good first use case for this, because it kind've seems like that wouldn't be useful for all guilds.
Guilds should have the capability to create unique-to-guild custom commands that only apply to them.
This would be managed, eventually, by some web UI dashboard.
Basic Example
Guilds can create custom commands in some eventual dashboard
Visit dashboard
"Create custom command"
Add new command to do thing
Drawbacks and Impact
Maybe #38 is useful for all guilds, and having it as a feature will encourage these repositores/libraries to make more awesome-$thing repos.
Unresolved questions
Could we allow creation and management of custom commands via Discord UI. Maybe by allowing (advanced) users to send markdown blocks of their Python code?
User: byte new command
Byte: Reply to me with what it is, ill see if its valid and we can test it
User:
@command(
name="ping",
help="Run `!ping` or `!p` to get a `pong!` response.",
aliases=["p"],
brief="Run `!ping` or `!p` to get a `pong!` response.",
description="Ping the bot.",
)
async def ping(self, ctx: Context) -> None:
"""Responds with 'pong'."""
await ctx.send(f"pong to the {ctx.guild.name} guild!")
Byte: Test/validate -> place it into a class CustomCommands(Cog) that is loaded only for that guild (❓)
Or, for 3, maybe we can just abstract much of this with something like
/newcmd name="ping" help="do the roar" aliases="p" action="send('hello world')"
[!NOTE]
We utilize Polar.sh to engage in regular as well as pledge-based > sponsorship.
Summary
38 presents a good first use case for this, because it kind've seems like that wouldn't be useful for all guilds.
Guilds should have the capability to create unique-to-guild custom commands that only apply to them. This would be managed, eventually, by some web UI dashboard.
Basic Example
Guilds can create custom commands in some eventual dashboard
Drawbacks and Impact
Maybe #38 is useful for all guilds, and having it as a feature will encourage these repositores/libraries to make more
awesome-$thing
repos.Unresolved questions
Could we allow creation and management of custom commands via Discord UI. Maybe by allowing (advanced) users to send markdown blocks of their Python code?
byte new command
Reply to me with what it is, ill see if its valid and we can test it
class CustomCommands(Cog)
that is loaded only for that guild (❓)Or, for 3, maybe we can just abstract much of this with something like
/newcmd name="ping" help="do the roar" aliases="p" action="send('hello world')"