mirror of
https://github.com/gizmo4487/O-Bot.git
synced 2026-07-14 08:35:55 -05:00
Formatting changes + Update version to 1.0.0
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = {
|
||||
)),
|
||||
async execute(interaction) {
|
||||
const voiceOption = interaction.options.getString('type') ?? 'normal';
|
||||
const prefix = 'o_sound' + (voiceOption!='normal'?'/' + voiceOption:'');
|
||||
const prefix = 'o_sound' + (voiceOption != 'normal' ? '/' + voiceOption : '');
|
||||
const response = await vcutil.play(interaction, prefix + "/000000" + util.randomHex() + ".wav");
|
||||
await interaction.reply(response);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user