text: module.exports = async (d) => {
      const code = d.command.code; 
      const inside = d.unpack();
      const err = d.inside(inside);
      if (err) return d.error(err);
      let [guildID, json] = inside.splits;
      
      const validObject = (object) => {
    let pass = true
    try{
      JSON.parse(object)
    } catch {
      pass = false
    }
    return pass
      }
      let obj = validObject(json) === false ? json: JSON.parse(json)
      try {
          if (guildID === "global") {
              d.client.emit("checkGlobalSlashCreate", guildID, obj.name, d.client)
              let request = await d.client.api.applications(d.client.user.id).commands.post({data: obj})
                  .catch((err) => null);
          } else {
              d.client.emit("checkGlobalSlashCreate", guildID, obj.name, d.client)
              let request = await d.client.api.applications(d.client.user.id)
                  .guilds(guildID)
                  .commands.post({
                      data: obj
                  })
                  .catch((err) => null);
              
              if (!request) return d.error(`\`SlashError: Failed to create slash command\``);
              
              return {
                  code: code.replaceLast(`$xios${inside}`, "")
              , };
          }
      } catch (e) {
          return d.error(`\` ${e.message}\``);
      }
  };