Skip to content

Commit

Permalink
🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
crock committed Jun 30, 2020
1 parent 8279cd3 commit 7d7a54c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -12,12 +12,12 @@ if (process.env.NODE_ENV === 'development') {
const fs = require('fs')
const Discord = require('discord.js')
const client = new Discord.Client()

const roleName = client.guilds.get(guild_id).roles.get(verified_role_id).name
let roleName = ""

client.on('ready', async () => {
console.log(`Logged in as ${client.user.tag}!`)
await client.user.setActivity('Verify in #verification');
roleName = client.guilds.get(guild_id).roles.get(verified_role_id).name
})

client.on('message', msg => {
Expand Down

0 comments on commit 7d7a54c

Please sign in to comment.