mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +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
|
||||
|
||||
- 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.
|
||||
|
||||
## Packages
|
||||
@@ -93,7 +93,7 @@ Have your cache setup in any way you like. Redis, PGSQL or any cache layer you w
|
||||
|
||||
## 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
|
||||
|
||||
@@ -102,7 +102,7 @@ and unofficial templates:
|
||||
|
||||
## Links
|
||||
|
||||
- [Website](https://discordeno.mod.land)
|
||||
- [Website](https://discordeno.github.io/discordeno/)
|
||||
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
||||
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
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).
|
||||
|
||||
[Website/Guide](https://discordeno.mod.land/)
|
||||
[Website/Guide](https://discordeno.github.io/discordeno//)
|
||||
|
||||
[Discord Server](https://discord.com/invite/5vBgXk3UcZ)
|
||||
|
||||
@@ -586,4 +586,54 @@ export const WebhookTypes = {
|
||||
}
|
||||
|
||||
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 './Collection.js'
|
||||
export * from './Constants.js'
|
||||
export * as Constants from './Constants.js'
|
||||
export * from './Endpoints.js'
|
||||
export * from './gateway/Shard.js'
|
||||
export * from './gateway/ShardManager.js'
|
||||
|
||||
@@ -149,6 +149,6 @@ and unofficial templates:
|
||||
|
||||
## Links
|
||||
|
||||
- [Website](https://discordeno.mod.land)
|
||||
- [Website](https://discordeno.github.io/discordeno/)
|
||||
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
||||
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
||||
|
||||
@@ -149,6 +149,6 @@ and unofficial templates:
|
||||
|
||||
## Links
|
||||
|
||||
- [Website](https://discordeno.mod.land)
|
||||
- [Website](https://discordeno.github.io/discordeno/)
|
||||
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
||||
- [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
|
||||
|
||||
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
|
||||
|
||||
@@ -85,7 +85,7 @@ and unofficial templates:
|
||||
|
||||
## Links
|
||||
|
||||
- [Website](https://discordeno.mod.land)
|
||||
- [Website](https://discordeno.github.io/discordeno/)
|
||||
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
||||
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ const config = {
|
||||
favicon: 'img/favicon.png',
|
||||
|
||||
// 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
|
||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||
baseUrl: '/discordeno/',
|
||||
@@ -132,24 +132,24 @@ const config = {
|
||||
},
|
||||
}),
|
||||
|
||||
plugins: [
|
||||
[
|
||||
require.resolve("@easyops-cn/docusaurus-search-local"),
|
||||
{
|
||||
indexDocs: true,
|
||||
indexPages: true,
|
||||
docsRouteBasePath: ["/docs", "/tutorial"],
|
||||
language: ["en"],
|
||||
hashed: true,
|
||||
docsDir: ["docs", "tutorial"],
|
||||
blogDir: [],
|
||||
removeDefaultStopWordFilter: true,
|
||||
highlightSearchTermsOnTargetPage: true,
|
||||
searchResultLimits: 8,
|
||||
searchResultContextMaxLength: 50,
|
||||
},
|
||||
],
|
||||
]
|
||||
plugins: [
|
||||
[
|
||||
require.resolve('@easyops-cn/docusaurus-search-local'),
|
||||
{
|
||||
indexDocs: true,
|
||||
indexPages: true,
|
||||
docsRouteBasePath: ['/docs', '/tutorial'],
|
||||
language: ['en'],
|
||||
hashed: true,
|
||||
docsDir: ['docs', 'tutorial'],
|
||||
blogDir: [],
|
||||
removeDefaultStopWordFilter: true,
|
||||
highlightSearchTermsOnTargetPage: true,
|
||||
searchResultLimits: 8,
|
||||
searchResultContextMaxLength: 50,
|
||||
},
|
||||
],
|
||||
],
|
||||
}
|
||||
|
||||
module.exports = config
|
||||
|
||||
Reference in New Issue
Block a user