Skip to content

chamallow-team/Rhapsodie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rhapsodie

A Discord bot built with Discord.js and Deno.

Environment Variables

The following environment variables are used in this project:

  • TOKEN: Discord bot token
  • INTENTS: Discord intents as a number
  • NODE_ENV: Environment mode (development, test, production)

Create a .env file in the root directory with these variables to run the project locally.

Development

To run the project in development mode:

deno task dev

This will start the bot with hot reloading enabled.


https://discordjs.guide/voice/audio-player.html#cheat-sheet

let stream = ytdl("myurl", {
	filter: "audioonly",
	quality: 'highestaudio',
	seek: 0
});
const player = createAudioPlayer();
const resource = createAudioResource(stream);

const connection = joinVoiceChannel({
	channelId: vc.id,
	guildId: vc.guild.id,
	adapterCreator: vc.guild.voiceAdapterCreator,
})
player.play(resource);
connection.subscribe(player);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published