Switched image API from raw TCP to websockets, removed selective image reading code
This commit is contained in:
parent
c2e13c26b6
commit
a0a32c31b9
7 changed files with 133 additions and 138 deletions
|
@ -108,7 +108,7 @@ class ImageCommand extends Command {
|
|||
name: `${this.constructor.command}.${type}`
|
||||
};
|
||||
} catch (e) {
|
||||
if (e.toString().includes("Not connected to image server")) return "I'm still trying to connect to the image servers. Please wait a little bit.";
|
||||
if (e.toString().includes("Not connected to image server")) return "I can't seem to contact the image servers, they might be down or still trying to start up. Please wait a little bit.";
|
||||
throw e;
|
||||
} finally {
|
||||
if (status && await this.client.getMessage(status.channel.id, status.id).catch(() => undefined)) await status.delete();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue