Pqko Discord
CtrlK
  • pqko-discord
    • Introduction
    • Video
    • Support
    • Installation
    • Configuration
  • Slash Commands
    • Introduction
    • Basic Setup
    • Folder Handler
    • JSON Handler
  • Events Handler
    • Introduction
    • Basic Setup
  • OAuth2
    • Introduction
    • Basic Setup
    • Code Validation
    • Refreshing Token
    • Get User
    • Get User Connections
    • Get User Role Connections
    • Get Guilds
    • Join Guilds
    • Create Guild
    • Delete Guild
    • Modify Guild
    • Get Guild
    • Get Guild Preview
    • Get Guild Channels
  • Discord Authentication
    • Introduction
    • Installation
    • Basic Setup
    • Cookie Parsing
    • Authenticating
    • Setting Login Page
    • Setting Logout Page
    • Using headers
    • Full Example
Powered by GitBook
On this page
  1. OAuth2

Modify Guild

Modifies guild via OAuth2

The JSON parameters are found at : https://discord.com/developers/docs/resources/guild#modify-guild

oauth.modifyGuild(guildID, {
    name: "This has been edited!"
}).then((x) => console.log(x))

Returns the new editied/modified guild as JSON!

PreviousDelete GuildNextGet Guild

Last updated 2 years ago