3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-24 10:05:03 +00:00
This commit is contained in:
metal 2021-09-24 09:19:19 +00:00 committed by GitHub
parent 79e72185ab
commit 106a12df30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ import { TemplateFunction } from "./types";
// TODO: Generate this dynamically, lmao // TODO: Generate this dynamically, lmao
export const TemplateFunctions: TemplateFunction[] = [ export const TemplateFunctions: TemplateFunction[] = [
{ {
name: "info", name: "if",
description: "Checks if a condition is true or false and returns the corresponding ifTrue or ifFalse", description: "Checks if a condition is true or false and returns the corresponding ifTrue or ifFalse",
returnValue: "boolean", returnValue: "boolean",
arguments: ["condition", "ifTrue", "ifFalse"], arguments: ["condition", "ifTrue", "ifFalse"],