mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-12-21 03:58:05 +01:00
fix(arabot): change preconditions for restricted access only
This commit is contained in:
@@ -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'],
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user