Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

Conversation

nsylke
Copy link
Contributor

@nsylke nsylke commented Jun 20, 2021

Adds the follow command.

@nsylke nsylke requested a review from tjrgg June 20, 2021 23:11
Copy link
Member

@tjrgg tjrgg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

error: Uncaught (in promise) Error: Missing Permissions: MANAGE_WEBHOOKS
    throw new Error(`Missing Permissions: ${missing.join(" & ")}`);
          ^
    at requireChannelPermissions (https://deno.land/x/[email protected]/src/util/permissions.ts:214:11)
    at async getChannelWebhooks (https://deno.land/x/[email protected]/src/helpers/channels/get_channel_webhooks.ts:9:3)
    at async FollowCommand (file:///~/typicalbot/typicalbot-deno/src/rest/commands/general/follow.ts#5:36:29)

This error occurs when the bot is missing the "Manage Webhooks" permission and should be handled.

@nsylke nsylke requested a review from tjrgg June 21, 2021 00:45
@nsylke nsylke requested a review from tjrgg June 22, 2021 00:22
nsylke added 2 commits June 23, 2021 15:46
# Conflicts:
#	packages/typicalbot-rest/src/commands/general/follow.ts
#	packages/typicalbot-rest/src/languages/en_US/commands/general/follow.json
@nsylke nsylke changed the title feat: follow command feat: general commands Jul 5, 2021
Copy link
Member

@tjrgg tjrgg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be missing a language file for the vote command.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants