Skip to content

Commit

Permalink
fix: use WEB client in setNotificationPreferences
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Dec 19, 2022
1 parent d4382e8 commit 6f3deaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/InteractionManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class InteractionManager {
throw new Error(`Invalid notification preference type: ${type}`);

const action = await this.#actions.execute('/notification/modify_channel_preference', {
client: 'ANDROID',
client: 'WEB',
params: Proto.encodeNotificationPref(channel_id, pref_types[type.toUpperCase() as keyof typeof pref_types])
});

Expand Down

0 comments on commit 6f3deaf

Please sign in to comment.