Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/raspdevpy/ccdoc into main
Browse files Browse the repository at this point in the history
  • Loading branch information
NervN committed Oct 30, 2023
2 parents 1fc31d3 + 006461c commit b117d16
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
21 changes: 17 additions & 4 deletions guide/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => ({
Expand Down Expand Up @@ -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,
Expand Down
Binary file added guide/.vuepress/public/bot-profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions guide/Other/CustomBot.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ 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)

![](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

Expand Down
4 changes: 2 additions & 2 deletions guide/Text/Array/arrayShift.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $arrayShift

Removes and returns the last element in an array.
Removes and returns the first element in an array.

## Usage

Expand All @@ -16,4 +16,4 @@ $arrayShift[array name (optional)]
<discord-message :bot="true" role-color="#0099ff" author="Custom Command" avatar="https://media.discordapp.net/avatars/725721249652670555/781224f90c3b841ba5b40678e032f74a.webp">
first one is Mido<br>after it is Rake<br>after it is Azz
</discord-message>
</discord-messages>
</discord-messages>

0 comments on commit b117d16

Please sign in to comment.