mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
update examles
This commit is contained in:
parent
75b8520481
commit
b3989587bb
38 changed files with 21 additions and 42 deletions
|
@ -2,17 +2,17 @@ const { createEmbed } = require('../../../labscore/utils/embed')
|
|||
const { editOrReply } = require('../../../labscore/utils/message')
|
||||
|
||||
const { execSync } = require("child_process");
|
||||
const { icon, highlight } = require('../../../labscore/utils/markdown');
|
||||
const { icon, highlight, smallPill } = require('../../../labscore/utils/markdown');
|
||||
|
||||
module.exports = {
|
||||
name: "update",
|
||||
label: "flags",
|
||||
metadata: {
|
||||
description: 'Fetches latest bot version.',
|
||||
description: `Fetches latest bot version.\nUse ${smallPill('-f')} to force an update.`,
|
||||
description_short: 'Bot update',
|
||||
examples: ['update'],
|
||||
examples: ['update -f'],
|
||||
category: 'dev',
|
||||
usage: 'update [-force true]'
|
||||
usage: 'update [-f]'
|
||||
},
|
||||
onBefore: context => context.user.isClientOwner,
|
||||
onCancel: ()=>{},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue