Add fid command

This commit is contained in:
Hri7566 2024-03-20 04:37:56 -04:00
parent c645229cca
commit f6892a691a
2 changed files with 15 additions and 1 deletions

View File

@ -21,6 +21,7 @@ import { myid } from "./general/myid";
import { yeet } from "./inventory/yeet";
import { tree } from "./fishing/tree";
import { pick } from "./fishing/pick";
import { fid } from "./util/fid";
// import { give } from "./inventory/give";
interface ICommandGroup {
@ -58,7 +59,7 @@ commandGroups.push(inventoryGroup);
const utilGroup: ICommandGroup = {
id: "util",
displayName: "Utility",
commands: [data, setcolor, memory, autofish, pokedex]
commands: [data, setcolor, memory, autofish, pokedex, fid]
};
commandGroups.push(utilGroup);

View File

@ -0,0 +1,13 @@
import Command from "@server/commands/Command";
export const fid = new Command(
"fid",
["fid"],
"Get internal ID",
"fid",
"command.util.fid",
async props => {
return props.id;
},
false
);