/**
        * guildDelete event of the  discord bot, trigerred when the application leaves a guild
        */
      
      // eslint-disable-next-line consistent-return
      module.exports = async (client, guild) => {
          try {
              console.log("Guild has been deleted from the client )
          } catch (error) {
              return undefined
          }
      }

      Javascript language logo
      Guild Delete event

      discord.js

      Event to be triggered o guild delete

      Shortcut: discord.events.guildDelete

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.