diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..621038f --- /dev/null +++ b/.gitignore @@ -0,0 +1,58 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Typescript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env diff --git a/bot.js b/bot.js new file mode 100644 index 0000000..5b6774c --- /dev/null +++ b/bot.js @@ -0,0 +1,27 @@ +const Discord = require('discord.js'); +const client = new Discord.Client(); + +client.on('ready', () => { + console.log('ARE YA READY KIDS? AYE AYE CAPTAIN!'); +}); + +client.on('message', message => { + if (message.content === '!ping') { + message.channel.send('<:vtBoshyTime:280178631886635008> PING! Bot is coming soon.'); + } else if (message.content === '!isthisthingon') { + message.channel.send('no 💤'); + } else if (message.content === '!quoteoftheday') { + var embed = new Discord.RichEmbed(); + + embed.setAuthor("Victor Tran", "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg"); + embed.setColor("#FF0000"); + embed.setDescription("A letter says a whole video!"); + embed.setFooter("- 2017."); + embed.setURL("https://cdn.discordapp.com/attachments/278874966542385152/280566273992032258/Screenshot_20170213-160944.png"); + + message.channel.send("Here's the quote of the day:"); + message.channel.sendEmbed(embed); + } +}); + +client.login('MjgwMjQ1MDAwMDI0MDk2NzY4.C4K8Nw.InlnQvRmbvfJG0nv13FXtoVzXwc'); \ No newline at end of file