mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 08:14:14 +02:00
fix(arabot): change preconditions for restricted access only
This commit is contained in:
parent
7df01742be
commit
d42c4ce1cb
@ -28,7 +28,7 @@ class BanCommand extends Command {
|
||||
...options,
|
||||
name: 'ban',
|
||||
description: 'Bans a user',
|
||||
preconditions: ['ModOnly'],
|
||||
preconditions: ['RestrictedAccessOnly'],
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@ class UnbanCommand extends Command {
|
||||
...options,
|
||||
name: 'unban',
|
||||
description: 'Unbans a user',
|
||||
preconditions: ['ModOnly'],
|
||||
preconditions: ['RestrictedAccessOnly'],
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user