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