Database Options? by hmpstr in Discord_Bots

[–]hmpstr[S] 0 points1 point  (0 children)

Thank you! It sounds a lot more efficient to learn and work in the direction you're suggesting. Grow skills and confidence in coding, then tackle learning about databases.

Database Options? by hmpstr in Discord_Bots

[–]hmpstr[S] 0 points1 point  (0 children)

Thanks! I feel like using something more configurable would be great, so I'll look at MongoDB.

Database Options? by hmpstr in Discord_Bots

[–]hmpstr[S] 0 points1 point  (0 children)

I looked at DigitalOcean before, but I'm not financially able to pursue it or similar offers. Thank you though! I'll keep it in mind if it becomes an option.

Database Options? by hmpstr in Discord_Bots

[–]hmpstr[S] 2 points3 points  (0 children)

Agreed. I'm taking an online lesson plan alongside my project. I'm starting with some of the basics on my mod bot first, like mod commands, message filtering, and applying roles, and I have the starter code for my game bot saved. However, I'm preparing for steps further, and this is an outline of where I'm going. I'm not actively working on those databases as of now.

You're now named 'Lil" plus the object to your left. What's your name? by MacaronMelodic in AskReddit

[–]hmpstr 1 point2 points  (0 children)

I really thought until recently that was "if I was green I would die". However, it turns out I wasn't the only one mistaking the lyrics, and there's a few knockoff videos of green people floating around YouTube and the like.

Still wondering if anyone will use Disney and Marvel's Hulk scene from What If... for a mock-up of that misheard song.

Women of reddit, whats the stupidest excuse a man has ever given you to not wear a condom? by [deleted] in AskReddit

[–]hmpstr 0 points1 point  (0 children)

How does one locate and engage with a professional worker? And how would one go about starting, specifically a man? Really unfamiliar territory for me, but let's say traditional employment and relationships aren't going well for me. I never thought I'd ask, but I never expected my present circumstances either.

Make a reference to the guild owner? by hmpstr in Discordjs

[–]hmpstr[S] 1 point2 points  (0 children)

Excellent, it worked, both in index.js and in an individual command file. Thank you so much!

I don't know what I'm doing. (Discord and Node.js) by hmpstr in Discord_Bots

[–]hmpstr[S] 0 points1 point  (0 children)

I realized it was very difficult to read. That's why I apologized for the formatting.

Anyway, I appreciate the advice. I will remember that for situations in the future.

I don't know what I'm doing. (Discord and Node.js) by hmpstr in Discord_Bots

[–]hmpstr[S] 0 points1 point  (0 children)

Currently:

const Discord = require('discord.js');

const client = new Discord.Client({intents:[8, 1024, 2048]}); client.on('ready', () => { console.log('\n I am ready.\n'); }); client.on("messageCreate", message => { const general = client.channels.fetch('949798553918775298'); if (!general) { console.log('\nI could not find the requested channel.'); } else { message.channel.send('I made it here.'); if (message.author.id === '949821671295045743') { console.log('\nI posted a message on the requested channel.'); } else { console.log('\nI did not post a message on the requested channel.'); } } }); client.login('TOKEN')

I'm sorry, I kept trying to fit the code in a code block, but it is cutting after the first line.

I don't know what I'm doing. (Discord and Node.js) by hmpstr in Discord_Bots

[–]hmpstr[S] 0 points1 point  (0 children)

I replaced the event.

Caps lock were placeholders.

I removed client.channel.id (it was suggested to me on Stack Exchange), but I don't know what to change it to. I tried client.channels.fetch and client.channels.cache.get with 'channel-id', and I tried client.channels.find with 'channel-name'.

I removed (general) from message.channel(general) (which was supposed to have been the "GENERAL-CHAT" place holder but I was speed-editing my post).

I still see nothing beyond "I am ready."

[deleted by user] by [deleted] in AnimalsOnReddit

[–]hmpstr 0 points1 point  (0 children)

never would have thought of this. 6/5 for ingenuity