summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authorSin <[email protected]>2020-08-07 08:27:49 +0200
committerGitHub <[email protected]>2020-08-07 08:27:49 +0200
commit4722a77fcf8327b2dd40d6af992229983928fe6c (patch)
tree873f71ee64ab6faa9e1336e18a295cae60788965 /server/src
parentadd todo info (diff)
downloaddep-core-4722a77fcf8327b2dd40d6af992229983928fe6c.tar.xz
dep-core-4722a77fcf8327b2dd40d6af992229983928fe6c.zip
chore: add todo info for verify
Diffstat (limited to 'server/src')
-rw-r--r--server/src/commands/emma/Verify.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/commands/emma/Verify.ts b/server/src/commands/emma/Verify.ts
index 99124ec..c87f407 100644
--- a/server/src/commands/emma/Verify.ts
+++ b/server/src/commands/emma/Verify.ts
@@ -23,6 +23,7 @@ export default class VerifyEmma extends Command {
}
public async exec(msg: Message): Promise<Message> {
+ // TODO: Make this feature publically available, possibly by adding a verify channel to the guild model in the database and having automatic role creation for the un-verified role.
if (msg.guild.id.toString() !== emmaServer) return;
msg.delete();
if ((msg.channel as TextChannel).name !== verificationChannel) return;
@@ -70,5 +71,6 @@ export default class VerifyEmma extends Command {
}
}
+ // TODO: Use client function wait.
public wait = require("util").promisify(setTimeout);
-} \ No newline at end of file
+}