Commit b74d7e7d authored by Imran Hussain's avatar Imran Hussain
Browse files

Fix linting issues

parent ab4dca5f
Pipeline #812 passed with stages
in 4 minutes and 12 seconds
/* global process */
const settings = JSON.parse(process.env.SOCS);
module.exports = (client, member) => {
if (process.env.DEBUG === 'true') {
console.log("DEBUG: Incoming event: ", "guildMemberAdd");
console.log('DEBUG: Incoming event: ', 'guildMemberAdd');
}
const greeting = `Hey ${member}, welcome to the server`;
......
......@@ -16,7 +16,7 @@ fs.readdir('./events/', (err, files) => {
const eventHandler = require(`./events/${file}`);
const eventName = file.split('.')[0];
if (process.env.DEBUG === 'true') {
console.log("DEBUG: Registering eventhandler for event: ", eventName);
console.log('DEBUG: Registering eventhandler for event: ', eventName);
}
client.on(eventName, (...args) => eventHandler(client, ...args));
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment