Pages: [1]

UPDATE: Discord Account Linking Improvements
Posts: 3 Views: 1210

Wintermoot
  • Regional Stability Squad
  • The Greyscale Magi-Monk
  • Discord account links now rely on the Discord user ID on the backend instead of the username+discriminator. When linking a Discord account, you would still put in the username and discriminator, but the system will attempt to match it up with a user on the server, get the ID, and store it. At this point, it is no longer possible to add a Discord account that isn't in the Wintreath server.

    This has allowed for more automation when it comes to Discord linking. Citizens that link their accounts will automatically be given the Citizen role in Discord without needing to flag down an operator, and likewise this will also be done if someone runs the Citizenize task on someone with a Discord in their profile.

    While I was at it, I fixed the bug where members couldn't delete their contacts.
    3 people like this post: Gerrick, taulover, _zM


    I went all the way to Cassadega to commune with the dead
    They said "You'd better look alive"
    Wintermoot
    • The Greyscale Magi-Monk
    • Posts: 19,453
    • Karma: 9,677
    • Weather: ❄️
    • Regional Stability Squad
    • Pronouns
      He/Him/His
      Orientation
      Demisexual
      Wintreath Nation
      Logged
    Wintermoot
  • Regional Stability Squad
  • The Greyscale Magi-Monk
  • I've made updates that allow for automatic removal of Citizen Discord masking when I run Uncitizenize on someone, which will make Citizenship checks a bit easier for me.

    Over time as I've done more with Discord, I've been putting together a set of functions to interact with the Discord API to make future work with website/Discord integration easier. Currently, I have functions that can:
    1) Post a message to a channel (assuming the bot/webhooks have been set up on the Discord side)
    2) Get the Discord User ID of a Username#Discriminator on a server (or indicate that username doesn't exist on the server)
    3) Add or remove users to a Discord role (currently restricted by me to Citizen masking)
    2 people like this post: taulover, Wuufu


    I went all the way to Cassadega to commune with the dead
    They said "You'd better look alive"
    Wintermoot
    • The Greyscale Magi-Monk
    • Posts: 19,453
    • Karma: 9,677
    • Weather: ❄️
    • Regional Stability Squad
    • Pronouns
      He/Him/His
      Orientation
      Demisexual
      Wintreath Nation
      Logged
    Wintermoot
  • Regional Stability Squad
  • The Greyscale Magi-Monk
  • Finally, I've created a new process that will run every hour to keep linked Discord usernames updated. This will keep your Discord name up to date in your profile without having to edit it. :)
    2 people like this post: taulover, Wuufu


    I went all the way to Cassadega to commune with the dead
    They said "You'd better look alive"
    Wintermoot
    • The Greyscale Magi-Monk
    • Posts: 19,453
    • Karma: 9,677
    • Weather: ❄️
    • Regional Stability Squad
    • Pronouns
      He/Him/His
      Orientation
      Demisexual
      Wintreath Nation
      Logged
     
    Pages: [1]