
Security News
Potemkin Understanding in LLMs: New Study Reveals Flaws in AI Benchmarks
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
discord-slash-commands-ru
Advanced tools
Модуль с русским переводом для Дискорд ботов, чтобы легко создать слеш-команды и управлять ими.
Модуль с русским переводом для Дискорд ботов, чтобы легко создать слеш-команды и управлять ими.
const { SlashClient } = require("discord-slash-commands-ru");
// Для TypeScript: import { SlashClient } from "discord-slash-commands-ru";
const interaction = new SlashClient("Токен вашего бота", "ID вашего бота");
interaction.getSlashCommands({}).then(console.log); // Показывает все созданные слеш-команды
// Чтобы получить конкретную глобальную команду - interaction.getSlashCommands({ commandID: Айди команды })
// Чтобы получить конкретную команду только для указанного сервера - interaction.getSlashCommands({ commandID: "Айди команды", guildID: "Айди сервера" })
// Создание новой глобальной слеш-команды
interaction
.createSlashCommand({ name: "Название команды", description: "Описание команды" })
.then(console.log)
// Если хотите создать только для указанного сервера - interaction.createSlashCommand({ name: "Название команды", description: "Описание команды" }, "Айди сервера")
// Редактирование глобальной слеш-команды
interaction
.editSlashCommand({ name: "Новое название для команды", description: "Новое описание для команды" }, "ID команды, которую хотите редактировать")
.then(console.log)
// Если хотите редактировать команду указанного сервера - interaction.editSlashCommand({ name: "Новое название для команды", description: "Новое описание для команды" }, "ID команды, которую хотите редактировать", "Айди сервера")
// Удаление глобальной слеш-команды
interaction
.deleteSlashCommand("ID команды, которую вы хотите удалить")
.then(console.log)
.catch(console.error);
// Чтобы удалить команду указанного сервера - interaction.deleteCommand("ID команды, которую вы хотите удалить", "Айди сервера")
Если у вас есть вопросы, мой Дискорд: HellLover#9626
FAQs
Модуль с русским переводом для Дискорд ботов, чтобы легко создать слеш-команды и управлять ими.
The npm package discord-slash-commands-ru receives a total of 6 weekly downloads. As such, discord-slash-commands-ru popularity was classified as not popular.
We found that discord-slash-commands-ru demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.