Create Guild
Creates guild on bot account - Bots under 10 guilds only.
The JSON can have many stuff that you can find at: https://discord.com/developers/docs/resources/guild#create-guild (Only the name is required)
oauth.createServer({
name: "Name",
...
}).then((x) => console.log(x))
The response you should receive is like fetching a guild but here it is anyway
{
id: '...',
name: '...',
icon: null,
description: null,
home_header: null,
splash: null,
discovery_splash: null,
features: [ '...' ],
joined_at: '...',
emojis: [],
stickers: [],
banner: null,
owner_id: '...',
application_id: '...',
region: 'japan',
afk_channel_id: null,
afk_timeout: 300,
system_channel_id: '...',
widget_enabled: false,
widget_channel_id: null,
verification_level: 0,
roles: [
{
id: '...',
name: '@everyone',
description: null,
permissions: 104320577,
position: 0,
color: 0,
hoist: false,
managed: false,
mentionable: false,
icon: null,
unicode_emoji: null,
flags: 0,
permissions_new: '...'
}
],
default_message_notifications: 0,
mfa_level: 0,
explicit_content_filter: 0,
max_presences: null,
max_members: 500000,
max_stage_video_channel_users: 50,
max_video_channel_users: 25,
vanity_url_code: null,
premium_tier: 0,
premium_subscription_count: 0,
system_channel_flags: 0,
preferred_locale: 'en-US',
rules_channel_id: null,
safety_alerts_channel_id: null,
public_updates_channel_id: null,
hub_type: null,
premium_progress_bar_enabled: false,
latest_onboarding_question_id: null,
nsfw: false,
nsfw_level: 0,
embed_enabled: false,
embed_channel_id: null
}
Last updated