-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab7280e
commit d214539
Showing
6 changed files
with
81 additions
and
1 deletion.
There are no files selected for viewing
Empty file.
81 changes: 81 additions & 0 deletions
81
src/client/websocket/handlers/GUILD_SOUNDBOARD_SOUND_CREATE.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
/* | ||
From Client: | ||
case "VOICE_CHANNEL_EFFECT_SEND": | ||
Wt({ | ||
type: "VOICE_CHANNEL_EFFECT_SEND", | ||
emoji: t.emoji, | ||
channelId: t.channel_id, | ||
userId: t.user_id, | ||
animationType: t.animation_type, | ||
animationId: t.animation_id, | ||
soundId: t.sound_id, | ||
soundVolume: t.sound_volume, | ||
soundOverridePath: t.sound_override_path, | ||
points: t.points, | ||
streamerId: t.streamer_id, | ||
lineId: t.line_id, | ||
emojiHose: t.emoji_hose | ||
}); | ||
break; | ||
case "GUILD_SOUNDBOARD_SOUND_CREATE": | ||
Wt({ | ||
type: "GUILD_SOUNDBOARD_SOUND_CREATE", | ||
sound: { | ||
guildId: t.guild_id, | ||
name: t.name, | ||
soundId: t.sound_id, | ||
user: new ke.Z(t.user), | ||
userId: t.user_id, | ||
volume: t.volume, | ||
emojiId: t.emoji_id, | ||
emojiName: t.emoji_name, | ||
overridePath: t.override_path, | ||
available: t.available | ||
} | ||
}); | ||
break; | ||
case "GUILD_SOUNDBOARD_SOUND_UPDATE": | ||
Wt({ | ||
type: "GUILD_SOUNDBOARD_SOUND_UPDATE", | ||
sound: { | ||
guildId: t.guild_id, | ||
name: t.name, | ||
soundId: t.sound_id, | ||
user: new ke.Z(t.user), | ||
userId: t.user_id, | ||
volume: t.volume, | ||
emojiId: t.emoji_id, | ||
emojiName: t.emoji_name, | ||
overridePath: t.override_path, | ||
available: t.available | ||
} | ||
}); | ||
break; | ||
case "GUILD_SOUNDBOARD_SOUND_DELETE": | ||
Wt({ | ||
type: "GUILD_SOUNDBOARD_SOUND_DELETE", | ||
guildId: t.guild_id, | ||
soundId: t.sound_id | ||
}); | ||
break; | ||
case "GUILD_SOUNDBOARD_SOUNDS_UPDATE": | ||
Wt({ | ||
type: "GUILD_SOUNDBOARD_SOUNDS_UPDATE", | ||
guildId: t.guild_id, | ||
soundboardSounds: t.soundboard_sounds.map((function(e) { | ||
return { | ||
name: e.name, | ||
soundId: e.sound_id, | ||
overridePath: e.override_path, | ||
emojiName: e.emoji_name, | ||
emojiId: e.emoji_id, | ||
userId: e.user_id, | ||
volume: e.volume, | ||
available: e.available, | ||
guildId: t.guild_id | ||
} | ||
} | ||
)) | ||
}); | ||
break; | ||
*/ |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters