mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: use new website url
This commit is contained in:
@@ -9,7 +9,7 @@ Discord API library for [Node.JS](https://nodejs.org), [Deno](https://deno.land)
|
|||||||
|
|
||||||
## Tips
|
## Tips
|
||||||
|
|
||||||
- If you are already convinced about using Discordeno, go to [Getting Started](https://discordeno.mod.land)
|
- If you are already convinced about using Discordeno, go to [Getting Started](https://discordeno.github.io/discordeno/)
|
||||||
- To learn if Discordeno is right for you, read everything below.
|
- To learn if Discordeno is right for you, read everything below.
|
||||||
|
|
||||||
## Packages
|
## Packages
|
||||||
@@ -93,7 +93,7 @@ Have your cache setup in any way you like. Redis, PGSQL or any cache layer you w
|
|||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
Interested? [Check the website](https://discordeno.mod.land) for more details on getting started.
|
Interested? [Check the website](https://discordeno.github.io/discordeno/) for more details on getting started.
|
||||||
|
|
||||||
### Tools
|
### Tools
|
||||||
|
|
||||||
@@ -102,7 +102,7 @@ and unofficial templates:
|
|||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
- [Website](https://discordeno.mod.land)
|
- [Website](https://discordeno.github.io/discordeno/)
|
||||||
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
||||||
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -5,6 +5,6 @@
|
|||||||
This repo is meant as a template which you can use to create a Discord bot very easily using the
|
This repo is meant as a template which you can use to create a Discord bot very easily using the
|
||||||
[Discordeno library](https://github.com/discordeno/discordeno).
|
[Discordeno library](https://github.com/discordeno/discordeno).
|
||||||
|
|
||||||
[Website/Guide](https://discordeno.mod.land/)
|
[Website/Guide](https://discordeno.github.io/discordeno//)
|
||||||
|
|
||||||
[Discord Server](https://discord.com/invite/5vBgXk3UcZ)
|
[Discord Server](https://discord.com/invite/5vBgXk3UcZ)
|
||||||
|
|||||||
@@ -586,4 +586,54 @@ export const WebhookTypes = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type IntentStrings = keyof typeof Intents
|
export type IntentStrings = keyof typeof Intents
|
||||||
export type PermissionClientStrings = keyof typeof Permissions
|
export type PermissionClientStrings = keyof typeof Permissions
|
||||||
|
|
||||||
|
export const Constants = {
|
||||||
|
GATEWAY_VERSION,
|
||||||
|
REST_VERSION,
|
||||||
|
MessageFlags,
|
||||||
|
ActivityTypes,
|
||||||
|
ApplicationCommandOptionTypes,
|
||||||
|
ApplicationCommandPermissionTypes,
|
||||||
|
ApplicationCommandTypes,
|
||||||
|
AuditLogActions,
|
||||||
|
ButtonStyles,
|
||||||
|
ComponentTypes,
|
||||||
|
ConnectionVisibilityTypes,
|
||||||
|
DefaultMessageNotificationLevels,
|
||||||
|
ExplicitContentFilterLevels,
|
||||||
|
GatewayOPCodes,
|
||||||
|
GuildFeatures,
|
||||||
|
GuildIntegrationExpireBehavior,
|
||||||
|
GuildIntegrationTypes,
|
||||||
|
GuildNSFWLevels,
|
||||||
|
ImageFormats,
|
||||||
|
ImageSizeBoundaries,
|
||||||
|
Intents,
|
||||||
|
InteractionResponseTypes,
|
||||||
|
InteractionTypes,
|
||||||
|
MFALevels,
|
||||||
|
MessageActivityFlags,
|
||||||
|
MessageActivityTypes,
|
||||||
|
MessageTypes,
|
||||||
|
PermissionOverwriteTypes,
|
||||||
|
Permissions,
|
||||||
|
PremiumTiers,
|
||||||
|
GuildScheduledEventStatus,
|
||||||
|
GuildScheduledEventEntityTypes,
|
||||||
|
GuildScheduledEventPrivacyLevel,
|
||||||
|
PremiumTypes,
|
||||||
|
StageInstancePrivacyLevel,
|
||||||
|
StickerFormats,
|
||||||
|
StickerTypes,
|
||||||
|
SystemChannelFlags,
|
||||||
|
SystemJoinMessages,
|
||||||
|
ThreadMemberFlags,
|
||||||
|
UserFlags,
|
||||||
|
VerificationLevels,
|
||||||
|
VideoQualityModes,
|
||||||
|
VoiceOPCodes,
|
||||||
|
WebhookTypes,
|
||||||
|
}
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||||
|
export type Constants = typeof Constants;
|
||||||
@@ -99,7 +99,6 @@ export * from './Base.js'
|
|||||||
export * from './Client.js'
|
export * from './Client.js'
|
||||||
export * from './Collection.js'
|
export * from './Collection.js'
|
||||||
export * from './Constants.js'
|
export * from './Constants.js'
|
||||||
export * as Constants from './Constants.js'
|
|
||||||
export * from './Endpoints.js'
|
export * from './Endpoints.js'
|
||||||
export * from './gateway/Shard.js'
|
export * from './gateway/Shard.js'
|
||||||
export * from './gateway/ShardManager.js'
|
export * from './gateway/ShardManager.js'
|
||||||
|
|||||||
@@ -149,6 +149,6 @@ and unofficial templates:
|
|||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
- [Website](https://discordeno.mod.land)
|
- [Website](https://discordeno.github.io/discordeno/)
|
||||||
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
||||||
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
||||||
|
|||||||
@@ -149,6 +149,6 @@ and unofficial templates:
|
|||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
- [Website](https://discordeno.mod.land)
|
- [Website](https://discordeno.github.io/discordeno/)
|
||||||
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
||||||
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ Have your cache setup in any way you like. Redis, PGSQL or any cache layer you w
|
|||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
Interested? [Check the website](https://discordeno.mod.land) for more details on getting started.
|
Interested? [Check the website](https://discordeno.github.io/discordeno/) for more details on getting started.
|
||||||
|
|
||||||
### Tools
|
### Tools
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ and unofficial templates:
|
|||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
- [Website](https://discordeno.mod.land)
|
- [Website](https://discordeno.github.io/discordeno/)
|
||||||
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
||||||
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const config = {
|
|||||||
favicon: 'img/favicon.png',
|
favicon: 'img/favicon.png',
|
||||||
|
|
||||||
// Set the production url of your site here
|
// Set the production url of your site here
|
||||||
url: 'https://discordeno.mod.land',
|
url: 'https://discordeno.github.io',
|
||||||
// Set the /<baseUrl>/ pathname under which your site is served
|
// Set the /<baseUrl>/ pathname under which your site is served
|
||||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||||
baseUrl: '/discordeno/',
|
baseUrl: '/discordeno/',
|
||||||
@@ -132,24 +132,24 @@ const config = {
|
|||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
[
|
[
|
||||||
require.resolve("@easyops-cn/docusaurus-search-local"),
|
require.resolve('@easyops-cn/docusaurus-search-local'),
|
||||||
{
|
{
|
||||||
indexDocs: true,
|
indexDocs: true,
|
||||||
indexPages: true,
|
indexPages: true,
|
||||||
docsRouteBasePath: ["/docs", "/tutorial"],
|
docsRouteBasePath: ['/docs', '/tutorial'],
|
||||||
language: ["en"],
|
language: ['en'],
|
||||||
hashed: true,
|
hashed: true,
|
||||||
docsDir: ["docs", "tutorial"],
|
docsDir: ['docs', 'tutorial'],
|
||||||
blogDir: [],
|
blogDir: [],
|
||||||
removeDefaultStopWordFilter: true,
|
removeDefaultStopWordFilter: true,
|
||||||
highlightSearchTermsOnTargetPage: true,
|
highlightSearchTermsOnTargetPage: true,
|
||||||
searchResultLimits: 8,
|
searchResultLimits: 8,
|
||||||
searchResultContextMaxLength: 50,
|
searchResultContextMaxLength: 50,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = config
|
module.exports = config
|
||||||
|
|||||||
Reference in New Issue
Block a user