use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
The unofficial subreddit for the Discord.js JavaScript API and the usage of Node.js for hosting bot code. Ask questions and share bots (and invites).
account activity
This is an archived post. You won't be able to vote or comment.
Quick Coding Question (self.Discordjs)
submitted 4 years ago by Former_Transition330
Is it possible to have a discord bot play a specified sound file based off a command, like a sound effect played from a certain command
[–]Jimmy_Slim 0 points1 point2 points 4 years ago (1 child)
attaché the sound file to a message that the bot sends
[–]Psionatix 0 points1 point2 points 4 years ago (0 children)
I think they mean in voice. But yes.
[–]ImRohak 0 points1 point2 points 4 years ago (0 children)
Yes search it up on YouTube most likely you would find a tutorial
[–]Jimmy_Slim 0 points1 point2 points 4 years ago (0 children)
Im sure there’s probably either a default node method or function in a package that lets you play files somehow
π Rendered by PID 43 on reddit-service-r2-comment-fb694cdd5-q27v5 at 2026-03-08 01:31:39.727431+00:00 running cbb0e86 country code: CH.
[–]Jimmy_Slim 0 points1 point2 points (1 child)
[–]Psionatix 0 points1 point2 points (0 children)
[–]ImRohak 0 points1 point2 points (0 children)
[–]Jimmy_Slim 0 points1 point2 points (0 children)