DiSkyOrg / DiSky

The best Skript add-on for Discord management! Slash commands, interaction, components, modal and much more available!
https://disky.me/
Apache License 2.0
43 stars 12 forks source link

retrieve member no longer works. #164

Closed EquipableMC closed 7 months ago

EquipableMC commented 7 months ago

After some testing, this:

discord command ?unban <string>:
    trigger:
        if event-member has discord role with id "1195839650514882670":
            set {_unbanneduser} to arg-1
            retrieve member with id {_unbanneduser} from guild with id "1188896649540538388" and store it in {_user}
            discord unban {_user} from guild with id "1188896649540538388"
            reply with "cool"

returns an error message for unknown member (banning), but if I remove from guild with id "1188896649540538388", it throws an Variables cannot be used here error with no way of fixing.

Mushkrem commented 7 months ago

I'm confused. Why wouldn't that be the expected result? As a side note, here's an image i just generated: image It brought me immense joy, thought I'd share.

EquipableMC commented 7 months ago

I figured out the issue. My editor wasn't saving properly + with the way skript handles some stuff

EquipableMC commented 7 months ago

I'm confused. Why wouldn't that be the expected result?

As a side note, here's an image i just generated:

image

It brought me immense joy, thought I'd share.

Disky isues my favorite text