1. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  2. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  3. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Discord Notification When Map Is Hosted

Discussion in 'Multiplayer LFG' started by TriggerHappy, Jan 29, 2019.

  1. archimonde666

    archimonde666

    Joined:
    Nov 4, 2020
    Messages:
    1
    Resources:
    0
    Resources:
    0
    @TriggerHappy
    I have the exact same issue.
    If it's a permission issue that isn't resolved while giving admin permission, discord recently reinforced some things and you now need to declare discord.Intents.all() to perform some special actions like retrieving whole list of members of a discord, and some others ...
     
  2. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,838
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    It should be fixed now. Let me know if there are any issues.
     
  3. Tyler Gleditsch

    Tyler Gleditsch

    Joined:
    Sep 9, 2019
    Messages:
    9
    Resources:
    0
    Resources:
    0
    Is this a bug or a feature?

    I have an issue when using
    Code (Text):
    !notifychannel ### XXX
    It appears that the bot will only notify a single channel based upon the last command it has received. I attempted to load roughly 8 commands (for a single channel) into the bot, and it appears to only respond to the "last loaded command" when new maps are hosted.

    Strange thing is,
    Code (Text):
    !notify XXX
    has no problem taking multiple commands, and responding with notifications to them accordingly.
     
    Last edited: Nov 6, 2020
  4. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,838
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    You can supply multiple patterns in a single regex. For example:

    !notifychannel ### (Vampirism Fire|c7b78db248072969b1ea8c7f3edd7fc352e3e4bb|Vamp Fire)
     
  5. Tyler Gleditsch

    Tyler Gleditsch

    Joined:
    Sep 9, 2019
    Messages:
    9
    Resources:
    0
    Resources:
    0
    That syntax works great! Thanks for the quick reply.
     
  6. checkmate

    checkmate

    Joined:
    Dec 31, 2020
    Messages:
    1
    Resources:
    0
    Resources:
    0
    Hello It appears the bot is down.
     
  7. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,838
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    It was down while I wasnt available to fix it. I fixed it yesterday when I had the chance.
     
  8. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,838
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    Bot will be temporarily down due to outages.

    EDIT: It's back up.
     
    Last edited: Jan 21, 2021 at 12:47 AM