mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
update permissions
This commit is contained in:
parent
80f2cf0a04
commit
8883a4c595
58 changed files with 58 additions and 58 deletions
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
category: 'core',
|
||||
usage: 'undo [<amount (1-5)>]'
|
||||
},
|
||||
permissionsClient: [Permissions.SEND_MESSAGES, Permissions.EMBED_LINKS],
|
||||
permissionsClient: [Permissions.SEND_MESSAGES, Permissions.EMBED_LINKS, Permissions.READ_MESSAGE_HISTORY],
|
||||
run: async (context, args) => {
|
||||
try{
|
||||
if(typeof(args.amount) == "string") args.amount = parseInt(args.amount)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue