knights-of-academia / horace

discord.js bot powering the Knights of Academia server with commands like info, AFK, and more
MIT License
23 stars 19 forks source link

- #127

Closed Tekrus closed 3 years ago

Tekrus commented 4 years ago

-

ghost commented 4 years ago

I'll take this over in conjunction w/ writing documentation.

ghost commented 4 years ago

Which actions/commands should have error reporting? Currently avoiding these:

  1. databaseFiles because it'll report as soon as Horace is started.
  2. app.js because the bot won't even start with errors there.
Tekrus commented 4 years ago

-

ghost commented 4 years ago

I'm not sure if that'll work, I think it'll freak out bc it's technically "running" the command before the bot is started, but let me test it tonight and see.

kevinjosethomas commented 4 years ago

I'm not sure if that'll work, I think it'll freak out bc it's technically "running" the command before the bot is started, but let me test it tonight and see.

You should ignore errors like CommandNotFound as those are unnecessary. To check if the bot is already running before the error handler starts, maybe check against this -> https://discord.js.org/#/docs/main/stable/class/Client?scrollTo=readyAt

Tekrus commented 4 years ago

-

zmontgo commented 3 years ago

I suggest making it send in a channel inside the KOA Engineer Team server. Make sure to include a timestamp and channel ID.

mukkuzzz commented 3 years ago

@debashisbiswas Is this issue currently being worked on?

debashisbiswas commented 3 years ago

@mukkuzzz It's open!