diff --git a/guide/.vuepress/config.js b/guide/.vuepress/config.js index 71e2d62..a93660f 100644 --- a/guide/.vuepress/config.js +++ b/guide/.vuepress/config.js @@ -11,10 +11,23 @@ const replacePageContent = (content, replacements) => { }; module.exports = { lang: 'en-US', - title: 'Custom Command Bot', - description: 'The documentation of Custom Command bot', + title: 'Custom Command', + description: 'Custom Command Bot\'s Documentation', theme: '@vuepress/default', - head: [['link', { rel: 'icon', href: '/favicon.ico' }]], + head: [ + ['link', { rel: 'icon', href: 'https://doc.ccommandbot.com/bot-profile.png' }], + ['meta', { name: 'theme-color', content: '#74b0f7' }], + + ['meta', { property: 'og:title', content: 'Custom Command Bot' }], + ['meta', { property: 'og:description', content: 'Custom Command Bot\'s Documentation' }], + ['meta', { property: 'og:image', content: 'https://doc.ccommandbot.com/bot-profile.png' }], + ['meta', { property: 'og:url', content: 'https://ccommandbot.com' }], + + + ['meta', { name: 'twitter:title', content: 'Custom Command Bot' }], + ['meta', { name: 'twitter:description', content: 'Custom Command Bot\'s Documentation' }], + ['meta', { name: 'twitter:image', content: 'https://doc.ccommandbot.com/bot-profile.png' }] + ], //plugins: ['@vuepress/plugin-container'], plugins: [ (options, context) => ({ @@ -53,7 +66,7 @@ module.exports = { repo: 'raspdevpy/ccdoc', contributors:false, search: true, - logo: 'https://cdn.discordapp.com/icons/832255686783533066/f7131f694c6e1a2bd9c360d8b525d4e3.webp', + logo: '/favicon.ico', editLinks: true, editLinkText: 'Improve This Page!', lastUpdated: true, diff --git a/guide/.vuepress/public/bot-profile.png b/guide/.vuepress/public/bot-profile.png new file mode 100644 index 0000000..df9396c Binary files /dev/null and b/guide/.vuepress/public/bot-profile.png differ diff --git a/guide/Other/CustomBot.md b/guide/Other/CustomBot.md index 2271330..f85aeff 100644 --- a/guide/Other/CustomBot.md +++ b/guide/Other/CustomBot.md @@ -25,7 +25,7 @@ You can find here how to setup custom bot. You need this if you have tier 3+ by ![enable the intent](https://i.imgur.com/Vg5ugu7.png) ## 6. Generate the invitation link, copy it and invite the bot to your server -![generating the invite link](https://i.imgur.com/KpZEmDa.png) +![generating the invite link](https://i.imgur.com/DILwJT4.png) ## 7. Copy the `Application ID` and `Token` to your Clipboard ![](https://i.imgur.com/OipIbR1.png) @@ -33,11 +33,11 @@ You can find here how to setup custom bot. You need this if you have tier 3+ by ![](https://i.imgur.com/FR3sH1v.png) ## 8. Go to the Dashboard and select the server where you want to have premium. -![](https://i.imgur.com/A5lqSco.png) +![](https://i.imgur.com/0xEeKlN.png) - Then paste the copied `Application ID` and `Token` to `Client ID` and `Token` -![](https://i.imgur.com/xcgBVht.png) +![](https://i.imgur.com/WX7zWGf.png) ## 9.Change the Prefix from `!!` to any of your choice diff --git a/guide/Text/Array/arrayShift.md b/guide/Text/Array/arrayShift.md index 17fae8a..01df2bf 100644 --- a/guide/Text/Array/arrayShift.md +++ b/guide/Text/Array/arrayShift.md @@ -1,6 +1,6 @@ # $arrayShift -Removes and returns the last element in an array. +Removes and returns the first element in an array. ## Usage @@ -16,4 +16,4 @@ $arrayShift[array name (optional)] first one is Mido
after it is Rake
after it is Azz
- \ No newline at end of file +