mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Bot now connects, lint fixes
This commit is contained in:
parent
d0a1beb809
commit
edcfd2333f
16 changed files with 29 additions and 24 deletions
|
@ -61,7 +61,7 @@ export const UnmuteCmd = modActionsCmd({
|
|||
} else {
|
||||
// Ask the mod if we should upgrade to a forceunmute as the user is not on the server
|
||||
const notOnServerMsg = await msg.channel.send("User not found on the server, forceunmute instead?");
|
||||
const reply = false; //await waitForReaction(pluginData.client, notOnServerMsg, ["✅", "❌"], msg.author.id); FIXME waiting on waitForButton
|
||||
const reply = false; // await waitForReaction(pluginData.client, notOnServerMsg, ["✅", "❌"], msg.author.id); FIXME waiting on waitForButton
|
||||
|
||||
notOnServerMsg.delete().catch(noop);
|
||||
if (!reply /*|| reply.name === "❌"*/) {
|
||||
|
|
|
@ -73,7 +73,7 @@ export const WarnCmd = modActionsCmd({
|
|||
config.warn_notify_message.replace("{priorWarnings}", `${priorWarnAmount}`),
|
||||
);
|
||||
|
||||
const reply = false; //await waitForReaction(pluginData.client, tooManyWarningsMsg, ["✅", "❌"], msg.author.id); FIXME waiting on waitForButton
|
||||
const reply = false; // await waitForReaction(pluginData.client, tooManyWarningsMsg, ["✅", "❌"], msg.author.id); FIXME waiting on waitForButton
|
||||
tooManyWarningsMsg.delete();
|
||||
if (!reply /*|| reply.name === "❌"*/) {
|
||||
msg.channel.send(errorMessage("Warn cancelled by moderator"));
|
||||
|
|
|
@ -46,7 +46,7 @@ export async function warnMember(
|
|||
const failedMsg = await warnOptions.retryPromptChannel.send(
|
||||
"Failed to message the user. Log the warning anyway?",
|
||||
);
|
||||
const reply = false; //await waitForReaction(pluginData.client, failedMsg, ["✅", "❌"]); FIXME waiting on waitForButton
|
||||
const reply = false; // await waitForReaction(pluginData.client, failedMsg, ["✅", "❌"]); FIXME waiting on waitForButton
|
||||
failedMsg.delete();
|
||||
if (!reply /*|| reply.name === "❌"*/) {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue