Exiled-Team / DiscordIntegration

GNU General Public License v3.0
14 stars 34 forks source link

[BUG] Some scp:sl commands are not working anymore #123

Closed ImDati closed 3 months ago

ImDati commented 1 year ago

Describe the bug Many commands are not working anymore since the slash command feature e.g. bc, pm reload etc. image

To Reproduce We have two discord bots and both can use for example cassie_sl as command from discord channel, but such things as pm reload, @ or "bc 5 test" are not working anymore. It was working fine with text commands with prefix e.g. $bc 1 test.

Our config:

  "ValidCommands": {
    "1": {
      "HIDDEN": [
        "cassie",
        "grenade",
        "explode",
        "rocket",
        "kill"
      ],
      "HIDDEN": [
        "di",
        "di stafflist",
        "di playerlist",
        "discordintegration",
        "pm reload",
        "bc",
        "cassie_sl",
        "overcharge",
        "oban",
        "unban",
        "unban id",
        "unban ip",
        "@"
      ]
    },
    "2": {
      "HIDDEN": [
        "cassie",
        "grenade",
        "explode",
        "rocket",
        "kill"
      ],
      "HIDDEN": [
        "di",
        "di stafflist",
        "di playerlist",
        "discordintegration",
        "pm reload",
        "bc",
        "cassie_sl",
        "overcharge",
        "oban",
        "unban",
        "unban id",
        "unban ip",
        "@"
      ]
    }

EXILED Version ("latest" is not a version): 5.2.2

Results of show plugins command in console: Total number of plugins: 11 Enabled plugins: 7 Disabled plugins: 4

                      Exiled.Events:
                            - Author: Exiled Team
                            - Version: 5.2.2.0
                            - Required Exiled Version: 5.2.2.0
                            - Prefix: exiled_events
                            - Priority: Highest
                      Common Utilities:
                            - Author: Joker119
                            - Version: 6.2.0.0
                            - Required Exiled Version: 5.2.1
                            - Prefix: CommonUtilities
                            - Priority: Medium
                      Exiled.CreditTags:
                            - Disabled
                            - Author: Babyboucher20 & iRebbok & Exiled Team
                            - Version: 5.2.2.0
                            - Required Exiled Version: 5.2.2.0
                            - Prefix: exiled_credits
                            - Priority: Medium
                      NukeLock:
                            - Author: Marco15453
                            - Version: 1.10.0
                            - Required Exiled Version: 5.1.3
                            - Prefix: nuke_lock
                            - Priority: Medium
                      Exiled.CustomRoles:
                            - Disabled
                            - Author: Exiled Team
                            - Version: 5.2.2.0
                            - Required Exiled Version: 5.2.2.0
                            - Prefix: exiled_custom_roles
                            - Priority: Medium
                      RespawnTimer:
                            - Author: Michal78900
                            - Version: 3.1.0
                            - Required Exiled Version: 5.0.0
                            - Prefix: respawn_timer
                            - Priority: Medium
                      Admin Tools:
                            - Author: Originally by Galaxy119. Modifications by KoukoCocoa & Thomasjosif
                            - Version: 5.0.0.0
                            - Required Exiled Version: 5.0.0
                            - Prefix: AT
                            - Priority: Medium
                      Exiled.Updater:
                            - Disabled
                            - Author: Exiled.Updater
                            - Version: 3.1.1.0
                            - Required Exiled Version: 5.2.2.0
                            - Prefix: exiled_updater
                            - Priority: Medium
                      Exiled.CustomItems:
                            - Disabled
                            - Author: Exiled Team
                            - Version: 5.2.2.0
                            - Required Exiled Version: 5.2.2.0
                            - Prefix: exiled_custom_items
                            - Priority: Medium
                      Exiled.Permissions:
                            - Author: Exiled Team
                            - Version: 5.2.2.0
                            - Required Exiled Version: 5.2.2.0
                            - Prefix: exiled_permissions
                            - Priority: Medium
                      DiscordIntegration:
                            - Author: DiscordIntegration
                            - Version: 6.0.3.0
                            - Required Exiled Version: 5.2.0
                            - Prefix: discord_integration
                            - Priority: Medium
ImDati commented 1 year ago

Out of all commands I added in the config, only

cassie
grenade
explode
rocket
kill
cassie_sl

these are working now.

joker-119 commented 1 year ago

Can we confirm if this is still an issue in the latest version?