-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
85 changed files
with
1,860 additions
and
1,637 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# Bot | ||
TOKEN=REPLACE_HERE | ||
PREFIX=# | ||
EMBED_COLOR=#000001 | ||
SEARCH_ENGINE=youtube | ||
LEAVE_EMPTY=120000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
const { EmbedBuilder } = require("discord.js"); | ||
|
||
module.exports = { | ||
name: ["filter", "3d"], | ||
description: "Turning on 3d filter", | ||
category: "Filter", | ||
run: async (client, interaction) => { | ||
await interaction.reply("Loading please wait..."); | ||
|
||
const player = client.manager.players.get(interaction.guild.id); | ||
if(!player) return interaction.editReply(`No playing in this guild!`); | ||
const { channel } = interaction.member.voice; | ||
if (!channel || interaction.member.voice.channel !== interaction.guild.members.me.voice.channel) return interaction.editReply(`I'm not in the same voice channel as you!`); | ||
|
||
const data = { | ||
op: "filters", | ||
guildId: interaction.guild.id, | ||
rotation: { rotationHz: 0.2 } | ||
}; | ||
|
||
await player.send(data); | ||
|
||
const embed = new EmbedBuilder() | ||
.setDescription("`💠` | *Turned on:* `3d`") | ||
.setColor(client.color); | ||
|
||
await delay(5000); | ||
return interaction.editReply({ content: " ", embeds: [embed] }); | ||
} | ||
} | ||
|
||
function delay(ms) { | ||
return new Promise(resolve => setTimeout(resolve, ms)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
const { EmbedBuilder } = require('discord.js'); | ||
|
||
module.exports = { | ||
name: ["filter", "china"], | ||
description: "Turning on china filter", | ||
category: "Filter", | ||
run: async (client, interaction) => { | ||
await interaction.reply(`Loading please wait....`); | ||
|
||
const player = client.manager.players.get(interaction.guild.id); | ||
if(!player) return interaction.editReply(`No playing in this guild!`); | ||
const { channel } = interaction.member.voice; | ||
if (!channel || interaction.member.voice.channel !== interaction.guild.members.me.voice.channel) return interaction.editReply(`I'm not in the same voice channel as you!`); | ||
|
||
const data = { | ||
op: 'filters', | ||
guildId: interaction.guild.id, | ||
timescale: { | ||
speed: 0.75, | ||
pitch: 1.25, | ||
rate: 1.25 | ||
} | ||
} | ||
|
||
await player.send(data); | ||
|
||
const embed = new EmbedBuilder() | ||
.setDescription("`💠` | *Turned on:* `China`") | ||
.setColor(client.color); | ||
|
||
await delay(5000); | ||
interaction.editReply({ content: " ", embeds: [embed] }); | ||
} | ||
}; | ||
|
||
function delay(ms) { | ||
return new Promise(resolve => setTimeout(resolve, ms)); | ||
} |
Oops, something went wrong.