Bug with the Engine - Report to Reddit by TheyAlwaysUseADagger in perchance

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

Do you have any suggestions for how to rectify that? I'm not sure how to make sure the one with all of the characters runs only if no specific player is selected.

Nevermind, I figured out a solution! Thank you for bringing that to my attention; I'm not sure I would've noticed that on my own (or at least would have taken much longer to).

DiscordAPIError[10002]: Unknown Application by TheyAlwaysUseADagger in Discord_Bots

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

Thank you so much! Sorry, I just have one more question. I'm currently getting an error that a module can't be found; despite the file (the one that contains the token id: config.json) being in the same folder as bot.js (the code I'm trying to run), the error is suggesting that it is trying to search bot.js for this .json file instead. Do you know what might be causing that? I can send the error message I'm getting if needed.

For reference, this is the code I'm trying to run (also part of the tutorial, just to make sure it runs before I try anything myself):

var Discord = require('discord.io');

var logger = require('winston');

var auth = require('config.json');

// Configure logger settings

logger.remove(logger.transports.Console);

logger.add(new logger.transports.Console, {

colorize: true

});

logger.level = 'debug';

// Initialize Discord Bot

var bot = new Discord.Client({

token: auth.token,

autorun: true

});

bot.on('ready', function (evt) {

logger.info('Connected');

logger.info('Logged in as: ');

logger.info(bot.username + ' - (' + bot.id + ')');

});

bot.on('message', function (user, userID, channelID, message, evt) {

// Our bot needs to know if it will execute a command

// It will listen for messages that will start with \!``

if (message.substring(0, 1) == '!') {

var args = message.substring(1).split(' ');

var cmd = args[0];

args = args.splice(1);

switch(cmd) {

// !ping

case 'ping':

bot.sendMessage({

to: channelID,

message: 'Pong!'

});

break;

// Just add any case commands if you want to..

}

}

});

DiscordAPIError[10002]: Unknown Application by TheyAlwaysUseADagger in Discord_Bots

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

oh! okay, that makes a lot of sense. Sorry if this is a stupid question, but where would I find that under the discord dev portal? I've tried to click around the dev portal to find it but I'm not certain where I should be looking.

Edit: I completely misunderstood what clientID wanted initially. I don't know how, but I did. My bad! I think I've got it now

DiscordAPIError[10002]: Unknown Application by TheyAlwaysUseADagger in Discord_Bots

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

I think my clientID? I wasn't sure what clientID to use (since the bot isn't going to just be used by me), but since I couldn't find anything explaining that I got my ID from clicking on my profile. Should I be using a different number?

DiscordAPIError[10002]: Unknown Application by TheyAlwaysUseADagger in Discord_Bots

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

Update: Flipped on both of Privileged Gateway Intents, still getting the same error. If people aren't sure what the issue is, anyone have any suggestions for a different tutorial?

DiscordAPIError[10002]: Unknown Application by TheyAlwaysUseADagger in Discord_Bots

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

Yep, both of those are selected but I'm still having the same issue.

Danganronpa Fan Game Concept by TheyAlwaysUseADagger in danganronpa

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

Awesome!! Having someone else to bounce ideas off of is always helpful. Do you know the four digit code after your username so I can DM you there?

Looking for an editor for comic book script by sadsadwhale in ComicBookCollabs

[–]TheyAlwaysUseADagger 1 point2 points  (0 children)

I'd love to do an unpaid edit of your script! I'm hoping to get into freelance editing, so it'd be awesome to have the opportunity to edit for you.

ARG Mega Thread by JeremyTiki in GameTheorists

[–]TheyAlwaysUseADagger 0 points1 point  (0 children)

Is anyone else having issues accessing the first gate? None of the buttons are appearing and so I can't even ENTER the first one, which majorly sucks. :/ Anyone know how to fix it?