diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index f37111e..d7bcd64 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -15,7 +15,7 @@ jobs: deploy: runs-on: ubuntu-latest if: > - github.event_name == 'workflow_dispatch' || + (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main') steps: diff --git a/src/listeners/ready.ts b/src/listeners/ready.ts index d923199..e6a2ff1 100644 --- a/src/listeners/ready.ts +++ b/src/listeners/ready.ts @@ -20,8 +20,7 @@ export class ReadyListener extends Listener { client.user.setActivity({ name: `/autorole | Shard ${client.shard?.ids?.[0] ?? 0}`, - type: ActivityType.Listening, - state: 'New Feature' + type: ActivityType.Custom }); heartbeat(client);