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

feat: general commands#19

Open
nsylke wants to merge 5 commits into
mainfrom
feat/general-cmds
Open

feat: general commands#19
nsylke wants to merge 5 commits into
mainfrom
feat/general-cmds

Conversation

@nsylke

@nsylke nsylke commented Jun 20, 2021

Copy link
Copy Markdown
Contributor

Adds the follow command.

@nsylke
nsylke requested a review from tjrgg June 20, 2021 23:11
Comment thread src/rest/commands/general/follow.ts Outdated
Comment thread src/rest/commands/general/follow.ts Outdated

@tjrgg tjrgg left a comment

Copy link
Copy Markdown
Member

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/discordeno@11.2.0/src/util/permissions.ts:214:11)
    at async getChannelWebhooks (https://deno.land/x/discordeno@11.2.0/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
Comment thread src/rest/commands/general/follow.ts
@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

@tjrgg tjrgg left a comment

Copy link
Copy Markdown
Member

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