Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$aws status error #20

Open
Monkleys opened this issue Feb 28, 2021 · 1 comment
Open

$aws status error #20

Monkleys opened this issue Feb 28, 2021 · 1 comment

Comments

@Monkleys
Copy link

When status is run in discord, the following is returned in discord:

Error getting status, TypeError: Cannot read property '0' of undefined

No difference if instance is running or not. Confirmed start and stop is working as expected.

Console error:

    at /home/ubuntu/AWS-Discord-Bot/DiscordBot/src/Bot.js:86:105
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
@Monkleys
Copy link
Author

Monkleys commented Feb 28, 2021

For anyone encountering this issue, here's the fix:

This line assumes that your instance is tagged, so it tries to fetch the first tag. Adding a tag to your instance fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant