value:"Shows the current status of the API for this guild",
inline: true
},{
name:"[[api allow/enable",
value:"Allows API Rolls to be sent to this guild",
inline: true
},{
name:"[[api block/disable",
value:"Blocks API Rolls from being sent to this guild",
inline: true
},{
name:"[[api delete",
value:"Deletes this guild from The Artificer's database",
inline: true
}
]
}
]
},
apiPermError:{
embeds:[{
fields:[{
name:"API commands are powerful and can only be used by guild Owners and Admins.",
value:"For information on how to use the API, please check the GitHub README for more information [here](https://github.com/Burn-E99/TheArtificer)."
}]
}]
},
apiRemoveGuild:{
embeds:[{
title:"This guild's API setting has been removed from The Artifier's Database."
}]
},
apiStatusFail:{
embeds:[{
fields:[{
name:"Failed to check API rolls status for this guild.",
value:"If this issue persists, please report this to the developers."
}]
}]
},
help:{
embeds:[{
title:"The Artificer's Available Commands:",
fields:[
{
name:"[[?",
value:"This command",
inline: true
},{
name:"[[rollhelp or [[??",
value:"Details on how to use the roll command, listed as `[[xdy...]]` below",
inline: true
},{
name:"[[api [subcommand]",
value:"Administrative tools for the bots's API, run [[api help for more details",
inline: true
},{
name:"[[ping",
value:"Pings the bot to check connectivity",
inline: true
},{
name:"[[info",
value:"Prints some information and links relating to the bot",
inline: true
},{
name:"[[privacy",
value:"Prints some information about the Privacy Policy",
inline: true
},{
name:"[[version",
value:"Prints the bots version",
inline: true
},{
name:"[[popcat",
value:"Popcat",
inline: true
},{
name:"[[report [text]",
value:"Report a command that failed to run",
inline: true
},{
name:"[[stats",
value:"Statistics on the bot",
inline: true
},{
name:"[[xdydzracsq!]] ...",
value:"Rolls all configs requested, you may repeat the command multiple times in the same message (just ensure you close each roll with ]]), run [[?? for more details",
inline: true
}
]
}]
},
indev:{
embeds:[{
title:"Command is in development, please try again later."
}]
},
info:{
embeds:[{
fields:[{
name:"The Artificer, a Discord bot that specializing in rolling dice and calculating math",
value:`The Artificer is developed by Ean AKA Burn_E99.
name:"The Artificer does not track or collect user information via Discord.",
value:`The only user submitted information that is stored is submitted via the \`[[report\` command. This information is only stored for a short period of time in a location that only the Developer of The Artificer can see.
value:"Exploding, rolls another dy for every crit roll",
inline: true
}
]
},{
title:"Roll Command Flags:",
fields:[
{
name:"Details",
value:`This command also has some useful flags that can used. These flags simply need to be placed after all rolls in the message.
Examples:\`[[d20]] -nd\`, \`[[d20]] -nd -s\``
},{
name:"-nd",
value:"No Details - Suppresses all details of the requested roll",
inline: true
},{
name:"-s",
value:"Spoiler - Spoilers all details of the requested roll",
inline: true
},{
name:"-m",
value:"Maximize Roll - Rolls the theoretical maximum roll, cannot be used with -n",
inline: true
},{
name:"-n",
value:"Nominal Roll - Rolls the theoretical nominal roll, cannot be used with -m",
inline: true
},{
name:"-gm @user1 @user2 @usern",
value:"GM Roll - Rolls the requested roll in GM mode, suppressing all publicly shown results and details and sending the results directly to the specified GMs",
inline: true
},{
name:"-o a or -o d",
value:"Order Roll - Rolls the requested roll and orders the results in the requested direction",
name:`The Artificer's API is ${config.api.enable?"currently enabled":"currently disabled"}.`,
value: banned?"API rolls are banned from being used in this guild.\n\nThis will not be reversed.":`API rolls are ${active?"allowed":"blocked from being used"} in this guild.`
}]
}]
});
exportconstgenerateApiSuccess=(args: string)=>({
embeds:[{
title:`API rolls have successfully been ${args}ed for this guild.`
}]
});
exportconstgenerateDMFailed=(user: string)=>({
embeds:[{
fields:[{
name:`WARNING: ${user} could not be messaged.`,
value:"If this issue persists, make sure direct messages are allowed from this server."