mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-23 01:25:02 +00:00
Update to Knub30.0.0-beta.37 and Eris 0.15, first pass
This commit is contained in:
parent
b83f269aab
commit
047174fbc4
133 changed files with 6507 additions and 380 deletions
|
@ -19,7 +19,7 @@ export const RoleAddCmd = selfGrantableRolesCmd({
|
|||
async run({ message: msg, args, pluginData }) {
|
||||
const lock = await pluginData.locks.acquire(memberRolesLock(msg.author));
|
||||
|
||||
const applyingEntries = getApplyingEntries(pluginData, msg);
|
||||
const applyingEntries = await getApplyingEntries(pluginData, msg);
|
||||
if (applyingEntries.length === 0) {
|
||||
lock.unlock();
|
||||
return;
|
||||
|
|
|
@ -7,7 +7,7 @@ export const RoleHelpCmd = selfGrantableRolesCmd({
|
|||
permission: null,
|
||||
|
||||
async run({ message: msg, pluginData }) {
|
||||
const applyingEntries = getApplyingEntries(pluginData, msg);
|
||||
const applyingEntries = await getApplyingEntries(pluginData, msg);
|
||||
if (applyingEntries.length === 0) return;
|
||||
|
||||
const allPrimaryAliases: string[] = [];
|
||||
|
|
|
@ -18,7 +18,7 @@ export const RoleRemoveCmd = selfGrantableRolesCmd({
|
|||
async run({ message: msg, args, pluginData }) {
|
||||
const lock = await pluginData.locks.acquire(memberRolesLock(msg.author));
|
||||
|
||||
const applyingEntries = getApplyingEntries(pluginData, msg);
|
||||
const applyingEntries = await getApplyingEntries(pluginData, msg);
|
||||
if (applyingEntries.length === 0) {
|
||||
lock.unlock();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue