Skip to content

Commit

Permalink
Revert "Hype train added"
Browse files Browse the repository at this point in the history
This reverts commit abb857e.
  • Loading branch information
MonstersOnParade committed Mar 16, 2021
1 parent 6a86ff7 commit 3f94380
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 795 deletions.
80 changes: 37 additions & 43 deletions docs/event.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,25 @@ Used to either create or send mock events for use with local webhooks testing.

**Args**

| Argument | Description |
| ---------------------- | ---------------------------------------------------------------------------------------------------------- |
| `subscribe` | A standard subscription event. Triggers a basic tier 1 sub. |
| `unsubscribe` | A standard unsubscribe event. Triggers a basic tier 1 sub. |
| `gift` | A gifted subscription event. Triggers a basic tier 1 sub. |
| `cheer` | Only usable with the `eventsub` transport, shows Cheers from chat. |
| `transaction` | Bits in Extensions transactions events. |
| `add-reward` | Channel Points EventSub event for a Custom Reward being added. |
| `update-reward` | Channel Points EventSub event for a Custom Reward being updated. |
| `remove-reward` | Channel Points EventSub event for a Custom Reward being removed. |
| `add-redemption` | Channel Points EventSub event for a redemption being performed. |
| `update-redemption` | Channel Points EventSub event for a redemption being updated. |
| `raid` | Channel Raid event with a random viewer count. |
| `revoke` | User authorization revoke event. Uses local Client as set in `twitch configure` or generates one randomly. |
| `stream-change` | Stream Changed event. |
| `streamup` | Only usable with the `eventsub` transport, a stream online event. |
| `streamdown` | Only usable with the `eventsub` transport, a stream offline event. |
| `add-moderator` | Channel moderator add event. |
| `remove-moderator` | Channel moderator removal event. |
| `hype-train-begin` | Hype Train begins event. |
| `hype-train-progress` | Hype Train progress event. |
| `hype-train-end` | Hype Train ends event. |
| Argument | Description |
| ------------------- | ---------------------------------------------------------------------------------------------------------- |
| `subscribe` | A standard subscription event. Triggers a basic tier 1 sub. |
| `unsubscribe` | A standard unsubscribe event. Triggers a basic tier 1 sub. |
| `gift` | A gifted subscription event. Triggers a basic tier 1 sub. |
| `cheer` | Only usable with the `eventsub` transport, shows Cheers from chat. |
| `transaction` | Bits in Extensions transactions events. |
| `add-reward` | Channel Points EventSub event for a Custom Reward being added. |
| `update-reward` | Channel Points EventSub event for a Custom Reward being updated. |
| `remove-reward` | Channel Points EventSub event for a Custom Reward being removed. |
| `add-redemption` | Channel Points EventSub event for a redemption being performed. |
| `update-redemption` | Channel Points EventSub event for a redemption being updated. |
| `raid` | Channel Raid event with a random viewer count. |
| `revoke` | User authorization revoke event. Uses local Client as set in `twitch configure` or generates one randomly. |
| `stream-change` | Stream Changed event. |
| `streamup` | Only usable with the `eventsub` transport, a stream online event. |
| `streamdown` | Only usable with the `eventsub` transport, a stream offline event. |
| `add-moderator` | Channel moderator add event. |
| `remove-moderator` | Channel moderator removal event. |

**Flags**

Expand Down Expand Up @@ -105,27 +102,24 @@ Allows you to test if your webserver responds to subscription requests properly.
**Args**

| Argument | Description |
| ---------------------- | ---------------------------------------------------------------------------------------------------------- |
| `subscribe` | A standard subscription event. Triggers a basic tier 1 sub. |
| `unsubscribe` | A standard unsubscribe event. Triggers a basic tier 1 sub. |
| `gift` | A gifted subscription event. Triggers a basic tier 1 sub. |
| `cheer` | Only usable with the `eventsub` transport, shows Cheers from chat. |
| `transaction` | Bits in Extensions transactions events. |
| `add-reward` | Channel Points EventSub event for a Custom Reward being added. |
| `update-reward` | Channel Points EventSub event for a Custom Reward being updated. |
| `remove-reward` | Channel Points EventSub event for a Custom Reward being removed. |
| `add-redemption` | Channel Points EventSub event for a redemption being performed. |
| `update-redemption` | Channel Points EventSub event for a redemption being updated. |
| `raid` | Channel Raid event with a random viewer count. |
| `revoke` | User authorization revoke event. Uses local Client as set in `twitch configure` or generates one randomly. |
| `stream_change` | Stream changed event. |
| `streamup` | Only usable with the `eventsub` transport, a stream online event. |
| `streamdown` | Only usable with the `eventsub` transport, a stream offline event. |
| `add-moderator` | Channel moderator add event. |
| `remove-moderator` | Channel moderator removal event. |
| `hype-train-begin` | Hype Train begins event. |
| `hype-train-progress` | Hype Train progress event. |
| `hype-train-end` | Hype Train ends event. |
| ------------------- | ---------------------------------------------------------------------------------------------------------- |
| `subscribe` | A standard subscription event. Triggers a basic tier 1 sub. |
| `unsubscribe` | A standard unsubscribe event. Triggers a basic tier 1 sub. |
| `gift` | A gifted subscription event. Triggers a basic tier 1 sub. |
| `cheer` | Only usable with the `eventsub` transport, shows Cheers from chat. |
| `transaction` | Bits in Extensions transactions events. |
| `add-reward` | Channel Points EventSub event for a Custom Reward being added. |
| `update-reward` | Channel Points EventSub event for a Custom Reward being updated. |
| `remove-reward` | Channel Points EventSub event for a Custom Reward being removed. |
| `add-redemption` | Channel Points EventSub event for a redemption being performed. |
| `update-redemption` | Channel Points EventSub event for a redemption being updated. |
| `raid` | Channel Raid event with a random viewer count. |
| `revoke` | User authorization revoke event. Uses local Client as set in `twitch configure` or generates one randomly. |
| `stream_change` | Stream changed event. |
| `streamup` | Only usable with the `eventsub` transport, a stream online event. |
| `streamdown` | Only usable with the `eventsub` transport, a stream offline event. |
| `add-moderator` | Channel moderator add event. |
| `remove-moderator` | Channel moderator removal event. |

**Flags**

Expand Down
29 changes: 13 additions & 16 deletions internal/events/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,19 @@
package events

var triggerSupported = map[string]bool{
"subscribe": true,
"unsubscribe": true,
"gift": true,
"cheer": true,
"transaction": true,
"follow": true,
"add-redemption": true,
"update-redemption": true,
"add-reward": true,
"update-reward": true,
"remove-reward": true,
"add-moderator": true,
"remove-moderator": true,
"hype-train-begin": true,
"hype-train-progress": true,
"hype-train-end": true,
"subscribe": true,
"unsubscribe": true,
"gift": true,
"cheer": true,
"transaction": true,
"follow": true,
"add-redemption": true,
"update-redemption": true,
"add-reward": true,
"update-reward": true,
"remove-reward": true,
"add-moderator": true,
"remove-moderator": true,
}

var transportSupported = map[string]bool{
Expand Down
107 changes: 0 additions & 107 deletions internal/events/types/hype_train_begin/hype_train_begin_event.go

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3f94380

Please sign in to comment.