CEP | (CapeEslePro) Wiki
  • 👁️CEP | (CapeEslePro)
  • 🇹🇷Türkçe
    • Eklenti Hakkında
      • Başlangıç
      • Hesap Eşleme
      • MySQL
      • Oyun Sohbeti Aktarma
      • Oyuna Komut Gönderme
      • Discorda Log Gönderme
      • Bot Aktivitesi
      • Dil Ayarı
      • Yeni Komut Oluşturma
      • 2FA
      • Embed
      • Placeholders
    • Komutlar
      • Oyun Komutları
      • Discord Komutları
    • API
      • API Class
      • Events
  • 🏴󠁧󠁢󠁥󠁮󠁧󠁿ENGLISH
    • About the Plugin
      • Beginning
      • Link System
      • MySQL
      • Transfer Game Chat
      • Sending Commands to the Game
      • Sending Logs to Discord
      • Bot Activity
      • Language Setting
      • Creating a New Command
      • 2FA
      • Embed
      • Placeholders
    • Commands
      • Game Commands
      • Discord Commands
    • API
      • API Class
      • Events
Powered by GitBook
On this page
  • System
  • Configuration File
  1. ENGLISH
  2. About the Plugin

Creating a New Command

On this page you can get information about the new command creation system.

System

With this system, you can create new commands on your discord server. For example, there is /ip command in the default config file. Your members can view your server's IP address when you use the /ip command.

When you update the commands, you need to restart the plugin. If the commands are not updated despite restarting, you may need to kick the bot from the server and invite it again.

Configuration File

discord_commands_embeds:
  'ip': # Command
    desc: 'Test Command' # Description of the command
    personalCMD: true # Should the message be visible only to the member who used the command or to everyone?
    embed: # Command embed message
      title: 'Info'
      description: '**Server IP Address:** Play.XXX.Com'
PreviousLanguage SettingNext2FA

Last updated 8 months ago

🏴󠁧󠁢󠁥󠁮󠁧󠁿