Skip to content

Commit

Permalink
chore: Update error message for button usage in Utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
appujet committed Jul 31, 2024
1 parent d8769d3 commit d8b37a4
Show file tree
Hide file tree
Showing 33 changed files with 209 additions and 113 deletions.
13 changes: 8 additions & 5 deletions locales/Bulgarian.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"description": "Grabs the current playing song on your DM",
"content": "**Duration:** {length}\n**Requested by:** <@{requester}>\n**Link:** [Click here]({uri})",
"check_dm": "Please check your DM.",
"dm_failed": "I couldn't send you a DM."
"dm_failed": "I couldn't send you a DM. Please make sure allow direct messages is turned on."
},
"join": {
"description": "Joins the voice channel",
Expand Down Expand Up @@ -503,7 +503,10 @@
"resume": "Resume",
"stop": "Stop",
"skip": "Skip",
"loop": "Loop"
"loop": "Loop",
"errors": {
"not_author": "You can't use this button."
}
},
"player": {
"errors": {
Expand Down Expand Up @@ -579,7 +582,7 @@
"missing_arguments_description": "Please provide the required arguments for the `{command}` command.\n\nExamples:\n{examples}",
"syntax_footer": "Syntax: [] = optional, <> = required",
"cooldown": "Please wait {time} more second(s) before reusing the `{command}` command.",
"no_mention_everyone": "You can't use this command with everyone or here.",
"no_mention_everyone": "You can't use this command with everyone or here. Please use slash command.",
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
Expand All @@ -591,7 +594,7 @@
"now_playing": "Now Playing",
"live": "LIVE",
"requested_by": "Requested by <@{requester}>",
"no_dj_permission": "You need to have the DJ role to use this command.",
"no_dj_permission": "You need to have the DJ role to use this button.",
"volume_set": "Volume set to {vol}%",
"volume_footer": "Volume: {vol}%",
"paused": "Paused",
Expand All @@ -603,7 +606,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing playing right now",
"nothing_playing": "Nothing playing right now.",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
5 changes: 4 additions & 1 deletion locales/ChineseCN.json
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,10 @@
"resume": "恢复",
"stop": "停止",
"skip": "跳过",
"loop": "循环"
"loop": "循环",
"errors": {
"not_author": "您不能使用此按钮。"
}
},
"player": {
"errors": {
Expand Down
13 changes: 8 additions & 5 deletions locales/ChineseTW.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"description": "Grabs the current playing song on your DM",
"content": "**Duration:** {length}\n**Requested by:** <@{requester}>\n**Link:** [Click here]({uri})",
"check_dm": "Please check your DM.",
"dm_failed": "I couldn't send you a DM."
"dm_failed": "I couldn't send you a DM. Please make sure allow direct messages is turned on."
},
"join": {
"description": "Joins the voice channel",
Expand Down Expand Up @@ -503,7 +503,10 @@
"resume": "Resume",
"stop": "Stop",
"skip": "Skip",
"loop": "Loop"
"loop": "Loop",
"errors": {
"not_author": "You can't use this button."
}
},
"player": {
"errors": {
Expand Down Expand Up @@ -579,7 +582,7 @@
"missing_arguments_description": "Please provide the required arguments for the `{command}` command.\n\nExamples:\n{examples}",
"syntax_footer": "Syntax: [] = optional, <> = required",
"cooldown": "Please wait {time} more second(s) before reusing the `{command}` command.",
"no_mention_everyone": "You can't use this command with everyone or here.",
"no_mention_everyone": "You can't use this command with everyone or here. Please use slash command.",
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
Expand All @@ -591,7 +594,7 @@
"now_playing": "Now Playing",
"live": "LIVE",
"requested_by": "Requested by <@{requester}>",
"no_dj_permission": "You need to have the DJ role to use this command.",
"no_dj_permission": "You need to have the DJ role to use this button.",
"volume_set": "Volume set to {vol}%",
"volume_footer": "Volume: {vol}%",
"paused": "Paused",
Expand All @@ -603,7 +606,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing playing right now",
"nothing_playing": "Nothing playing right now.",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
13 changes: 8 additions & 5 deletions locales/Croatian.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"description": "Grabs the current playing song on your DM",
"content": "**Duration:** {length}\n**Requested by:** <@{requester}>\n**Link:** [Click here]({uri})",
"check_dm": "Please check your DM.",
"dm_failed": "I couldn't send you a DM."
"dm_failed": "I couldn't send you a DM. Please make sure allow direct messages is turned on."
},
"join": {
"description": "Joins the voice channel",
Expand Down Expand Up @@ -503,7 +503,10 @@
"resume": "Resume",
"stop": "Stop",
"skip": "Skip",
"loop": "Loop"
"loop": "Loop",
"errors": {
"not_author": "You can't use this button."
}
},
"player": {
"errors": {
Expand Down Expand Up @@ -579,7 +582,7 @@
"missing_arguments_description": "Please provide the required arguments for the `{command}` command.\n\nExamples:\n{examples}",
"syntax_footer": "Syntax: [] = optional, <> = required",
"cooldown": "Please wait {time} more second(s) before reusing the `{command}` command.",
"no_mention_everyone": "You can't use this command with everyone or here.",
"no_mention_everyone": "You can't use this command with everyone or here. Please use slash command.",
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
Expand All @@ -591,7 +594,7 @@
"now_playing": "Now Playing",
"live": "LIVE",
"requested_by": "Requested by <@{requester}>",
"no_dj_permission": "You need to have the DJ role to use this command.",
"no_dj_permission": "You need to have the DJ role to use this button.",
"volume_set": "Volume set to {vol}%",
"volume_footer": "Volume: {vol}%",
"paused": "Paused",
Expand All @@ -603,7 +606,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing playing right now",
"nothing_playing": "Nothing playing right now.",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
13 changes: 8 additions & 5 deletions locales/Czech.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"description": "Grabs the current playing song on your DM",
"content": "**Duration:** {length}\n**Requested by:** <@{requester}>\n**Link:** [Click here]({uri})",
"check_dm": "Please check your DM.",
"dm_failed": "I couldn't send you a DM."
"dm_failed": "I couldn't send you a DM. Please make sure allow direct messages is turned on."
},
"join": {
"description": "Joins the voice channel",
Expand Down Expand Up @@ -503,7 +503,10 @@
"resume": "Resume",
"stop": "Stop",
"skip": "Skip",
"loop": "Loop"
"loop": "Loop",
"errors": {
"not_author": "You can't use this button."
}
},
"player": {
"errors": {
Expand Down Expand Up @@ -579,7 +582,7 @@
"missing_arguments_description": "Please provide the required arguments for the `{command}` command.\n\nExamples:\n{examples}",
"syntax_footer": "Syntax: [] = optional, <> = required",
"cooldown": "Please wait {time} more second(s) before reusing the `{command}` command.",
"no_mention_everyone": "You can't use this command with everyone or here.",
"no_mention_everyone": "You can't use this command with everyone or here. Please use slash command.",
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
Expand All @@ -591,7 +594,7 @@
"now_playing": "Now Playing",
"live": "LIVE",
"requested_by": "Requested by <@{requester}>",
"no_dj_permission": "You need to have the DJ role to use this command.",
"no_dj_permission": "You need to have the DJ role to use this button.",
"volume_set": "Volume set to {vol}%",
"volume_footer": "Volume: {vol}%",
"paused": "Paused",
Expand All @@ -603,7 +606,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing playing right now",
"nothing_playing": "Nothing playing right now.",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
13 changes: 8 additions & 5 deletions locales/Danish.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"description": "Grabs the current playing song on your DM",
"content": "**Duration:** {length}\n**Requested by:** <@{requester}>\n**Link:** [Click here]({uri})",
"check_dm": "Please check your DM.",
"dm_failed": "I couldn't send you a DM."
"dm_failed": "I couldn't send you a DM. Please make sure allow direct messages is turned on."
},
"join": {
"description": "Joins the voice channel",
Expand Down Expand Up @@ -503,7 +503,10 @@
"resume": "Resume",
"stop": "Stop",
"skip": "Skip",
"loop": "Loop"
"loop": "Loop",
"errors": {
"not_author": "You can't use this button."
}
},
"player": {
"errors": {
Expand Down Expand Up @@ -579,7 +582,7 @@
"missing_arguments_description": "Please provide the required arguments for the `{command}` command.\n\nExamples:\n{examples}",
"syntax_footer": "Syntax: [] = optional, <> = required",
"cooldown": "Please wait {time} more second(s) before reusing the `{command}` command.",
"no_mention_everyone": "You can't use this command with everyone or here.",
"no_mention_everyone": "You can't use this command with everyone or here. Please use slash command.",
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
Expand All @@ -591,7 +594,7 @@
"now_playing": "Now Playing",
"live": "LIVE",
"requested_by": "Requested by <@{requester}>",
"no_dj_permission": "You need to have the DJ role to use this command.",
"no_dj_permission": "You need to have the DJ role to use this button.",
"volume_set": "Volume set to {vol}%",
"volume_footer": "Volume: {vol}%",
"paused": "Paused",
Expand All @@ -603,7 +606,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing playing right now",
"nothing_playing": "Nothing playing right now.",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
13 changes: 8 additions & 5 deletions locales/Dutch.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"description": "Grabs the current playing song on your DM",
"content": "**Duration:** {length}\n**Requested by:** <@{requester}>\n**Link:** [Click here]({uri})",
"check_dm": "Please check your DM.",
"dm_failed": "I couldn't send you a DM."
"dm_failed": "I couldn't send you a DM. Please make sure allow direct messages is turned on."
},
"join": {
"description": "Joins the voice channel",
Expand Down Expand Up @@ -503,7 +503,10 @@
"resume": "Resume",
"stop": "Stop",
"skip": "Skip",
"loop": "Loop"
"loop": "Loop",
"errors": {
"not_author": "You can't use this button."
}
},
"player": {
"errors": {
Expand Down Expand Up @@ -579,7 +582,7 @@
"missing_arguments_description": "Please provide the required arguments for the `{command}` command.\n\nExamples:\n{examples}",
"syntax_footer": "Syntax: [] = optional, <> = required",
"cooldown": "Please wait {time} more second(s) before reusing the `{command}` command.",
"no_mention_everyone": "You can't use this command with everyone or here.",
"no_mention_everyone": "You can't use this command with everyone or here. Please use slash command.",
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
Expand All @@ -591,7 +594,7 @@
"now_playing": "Now Playing",
"live": "LIVE",
"requested_by": "Requested by <@{requester}>",
"no_dj_permission": "You need to have the DJ role to use this command.",
"no_dj_permission": "You need to have the DJ role to use this button.",
"volume_set": "Volume set to {vol}%",
"volume_footer": "Volume: {vol}%",
"paused": "Paused",
Expand All @@ -603,7 +606,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing playing right now",
"nothing_playing": "Nothing playing right now.",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
13 changes: 8 additions & 5 deletions locales/EnglishGB.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"description": "Grabs the current playing song on your DM",
"content": "**Duration:** {length}\n**Requested by:** <@{requester}>\n**Link:** [Click here]({uri})",
"check_dm": "Please check your DM.",
"dm_failed": "I couldn't send you a DM."
"dm_failed": "I couldn't send you a DM. Please make sure allow direct messages is turned on."
},
"join": {
"description": "Joins the voice channel",
Expand Down Expand Up @@ -503,7 +503,10 @@
"resume": "Resume",
"stop": "Stop",
"skip": "Skip",
"loop": "Loop"
"loop": "Loop",
"errors": {
"not_author": "You can't use this button."
}
},
"player": {
"errors": {
Expand Down Expand Up @@ -579,7 +582,7 @@
"missing_arguments_description": "Please provide the required arguments for the `{command}` command.\n\nExamples:\n{examples}",
"syntax_footer": "Syntax: [] = optional, <> = required",
"cooldown": "Please wait {time} more second(s) before reusing the `{command}` command.",
"no_mention_everyone": "You can't use this command with everyone or here.",
"no_mention_everyone": "You can't use this command with everyone or here. Please use slash command.",
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
Expand All @@ -591,7 +594,7 @@
"now_playing": "Now Playing",
"live": "LIVE",
"requested_by": "Requested by <@{requester}>",
"no_dj_permission": "You need to have the DJ role to use this command.",
"no_dj_permission": "You need to have the DJ role to use this button.",
"volume_set": "Volume set to {vol}%",
"volume_footer": "Volume: {vol}%",
"paused": "Paused",
Expand All @@ -603,7 +606,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing playing right now",
"nothing_playing": "Nothing playing right now.",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
5 changes: 4 additions & 1 deletion locales/EnglishUS.json
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,10 @@
"resume": "Resume",
"stop": "Stop",
"skip": "Skip",
"loop": "Loop"
"loop": "Loop",
"errors": {
"not_author": "You can't use this button."
}
},
"player": {
"errors": {
Expand Down
Loading

0 comments on commit d8b37a4

Please sign in to comment.