API.moderateDeleteChat(cid)

If you are BOUNCER (role 2) or above, you can delete an offensive chat message by its chat id.

USAGE

// delete chat message 
API.moderateDeleteChat("3703511-1477849582065");

Comments

  • Avatar
    Brian

    I see it's still labled as chatID, but as we developers know, it's currently cid. Which one is it going to be when the site goes live?

    Thanks

  • Avatar
    thedark1337

    cid

  • Avatar
    Bob Flemington

    When you try to delete your own message, nothing happens. Please fix, this is very important.

  • Avatar
    thedark1337

    They redid how the delete works. Only can delete from lower ranked people. Supposed to fix the old site's exploit where any bouncer and above can delete anyone's messages, including a BA or Admin.

  • Avatar
    Bob Flemington

    We need to be able to delete our own messages.

  • Avatar
    Fusix

    INFO: Now it's again possible to delete your own messages

  • Avatar
    Fabricio20

    The chatID must be separated for every message, since if I use a command that removes itself after being executed, my entire text will get removed.
    Ex:
    - Hello
    - How are you guys doing?
    - !ban @Fabricio20
    after I use !ban @Fabricio20, my entire chat will get removed.

  • Avatar
    Proditor Magnus

    You can override enter key to send emote instead of text, then everything appears as it should.

    Not perfect way but should be most comfortable.

  • Avatar
    MIxxx

    how do you override enter key to send emote ?

  • Avatar
    Proditor Magnus
  • Avatar
    Proditor Magnus

    However based on what I have seen since sending multiple emotes makes them group together as well. So solution might require alternating between emotes and messages.

  • Avatar
    MIxxx

    ok well still you have to have rank to delete your own message

  • Avatar
    Proditor Magnus

    Indeed, bouncer is enough to delete messages up to BA rank, havent tested on them, they havent showed up in rooms where I have rank.

  • Avatar
    Nuvm

    BAs and Admins can't get their messages deleted by anyone else then themselves. You can't delete your own messages neither.

  • Avatar
    Proditor Magnus

    Havent had reason to test on global ranks but you can very successfully delete own messages.

  • Avatar
    Nuvm

    Yes, you can delete your own messages through API. But not normally.

Powered by Zendesk