update permissions

This commit is contained in:
derpystuff 2023-07-13 11:54:15 +02:00
parent 80f2cf0a04
commit 8883a4c595
58 changed files with 58 additions and 58 deletions

View file

@ -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)