mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
oi
This commit is contained in:
parent
002a621f63
commit
17aece54ff
1 changed files with 3 additions and 3 deletions
|
@ -84,11 +84,11 @@ class Sendmessage extends BaseCommand {
|
|||
async execute(client, interaction) {
|
||||
await interaction.deferReply({ ephemeral: true });
|
||||
|
||||
const guild = client.guilds.cache.get("600970971410857996"),
|
||||
const command = interaction.options.getSubcommand(),
|
||||
guild = client.guilds.cache.get("600970971410857996"),
|
||||
channel = command === "rpinfo" ? guild.channels.cache.get("1119571321421058098") : guild.channels.cache.get("1119579266376540213");
|
||||
|
||||
const command = interaction.options.getSubcommand(),
|
||||
text = interaction.options.getString("text"),
|
||||
const text = interaction.options.getString("text"),
|
||||
name = interaction.options.getString("name"),
|
||||
attachment = interaction.options.getAttachment("attachment");
|
||||
|
||||
|
|
Loading…
Reference in a new issue