import z from "zod";
import { automodTrigger } from "../helpers";

const configSchema = z.strictObject({});

export const MemberLeaveTrigger = automodTrigger<unknown>()({
  configSchema,

  async match({ context }) {
    if (!context.joined || !context.member) {
      return;
    }

    return {};
  },

  renderMatchInformation() {
    return "";
  },
});
