Make log files rotate, clean up separated text input, add more uncanny images, use a more reliable method to get the instance owner username
This commit is contained in:
parent
b0f4c16d50
commit
4265e3e914
22 changed files with 128 additions and 88 deletions
|
@ -9,7 +9,8 @@ const exec = promisify(baseExec);
|
|||
|
||||
class InfoCommand extends Command {
|
||||
async run() {
|
||||
const owner = await this.ipc.fetchUser(process.env.OWNER.split(",")[0]);
|
||||
let owner = await this.ipc.fetchUser(process.env.OWNER.split(",")[0]);
|
||||
if (!owner) owner = await this.client.getRESTUser(process.env.OWNER.split(",")[0]);
|
||||
const stats = await this.ipc.getStats();
|
||||
return {
|
||||
embeds: [{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue