Forgot about verify.js changes.
This commit is contained in:
@@ -8,6 +8,7 @@ module.exports = {
|
|||||||
description: 'To verify yourself.',
|
description: 'To verify yourself.',
|
||||||
type: ApplicationCommandType.ChatInput,
|
type: ApplicationCommandType.ChatInput,
|
||||||
run: async (client, interaction) => {
|
run: async (client, interaction) => {
|
||||||
|
await interaction.deferReply({ ephemeral: true });
|
||||||
const guildId = interaction.guild.id;
|
const guildId = interaction.guild.id;
|
||||||
|
|
||||||
async function generateCaptcha(count) {
|
async function generateCaptcha(count) {
|
||||||
@@ -16,8 +17,6 @@ module.exports = {
|
|||||||
var lowchars = "abcdefghijklmnopqrstuvwxyz";
|
var lowchars = "abcdefghijklmnopqrstuvwxyz";
|
||||||
var nums = "0123456789";
|
var nums = "0123456789";
|
||||||
|
|
||||||
//get a random letter/number from upchars, lowchars, and nums
|
|
||||||
var chars = upchars + lowchars + nums;
|
|
||||||
var captcha = "";
|
var captcha = "";
|
||||||
|
|
||||||
for (var i = 0; i < count; i++) {
|
for (var i = 0; i < count; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user