Ejemplo n.º 1
0
    async def supportinvite(self, ctx, *, invite):
        """Change the invite link to the support server."""

        jsonedit.change_value("db/config.json", "SUPPORT_INVITE", invite)

        await ctx.send(
            f"Succesfully updated the invitation to the support server to {invite}!"
        )
Ejemplo n.º 2
0
    async def botversion(self, ctx, *, version):
        """Change the version of the bot."""

        jsonedit.change_value("db/config.json", "BOT_VERSION", f"v{version}")

        await ctx.send(f"Succesfully updated my version to {version}!")