-
Notifications
You must be signed in to change notification settings - Fork 16
Log-In as a Bot #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Fatih5252
wants to merge
3
commits into
ScootKit:main
Choose a base branch
from
Fatih5252:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Log-In as a Bot #73
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,48 @@ | ||
# Log-In as Bot | ||
|
||
With bot login, you can send messages using your custom bot, with or without embeds, and even attach custom command buttons, link buttons, and self-role buttons. | ||
|
||
Here is a Example how Log-In as Bot looks like: | ||
 | ||
|
||
In this picture, you can see the channels of your server on the left side. In the center, you can see the messages within the selected channel. At the bottom, there are three buttons: `Send Message`, `Start a Poll`, and `Start a Giveaway`. | ||
To access this interface, simply visit https://scnx.app/glink?page=bot/login. | ||
|
||
--- | ||
## Send A meesage as your Bot | ||
Click on the `Send Message` button, and you will be greeted with the Message Editor feature from SCNX. You can type your message normally, use an embed, or both if you prefer. Additionally, you can attach up to 5 images per message, add up to 5 self-role buttons, up to 25 self-role elements, up to 5 custom command buttons, up to 25 custom command elements, and up to 5 link buttons. | ||
|
||
:::note | ||
If you want to use `Custom Command Button` and `Custom Command Element` you have to Work with [Custom Commands](https://scnx.app/glink?page=bot/custom-commands) | ||
::: | ||
|
||
After configuring your message, click the `Send Message` button. After a short moment, congratulations! you’ve just sent a message with your bot! | ||
|
||
Fatih5252 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
--- | ||
## Start a poll (not out yet) | ||
:::info | ||
This feature isn't available yet. This section does not spcify when it will be released or what it will look like. | ||
::: | ||
In the future, you’ll be able to start a poll without activating the [Polls Module](https://docs.scnx.xyz/docs/custom-bot/modules/community/polls/). Simply click the `Start a Poll` button to create a poll for your community. | ||
However, this feature isn’t available yet, so you’ll need to wait until the developers release it. For now, please continue using the Polls Module. | ||
|
||
--- | ||
## Start a Giveaway (not out yet) | ||
:::info | ||
This feature is also not avaiable yet. | ||
::: | ||
Just like with the poll feature, you'll be able to create giveaways in the future without activating the [Giveaways Module](https://docs.scnx.xyz/docs/custom-bot/modules/community/giveaways/). Simply click the `Start a Giveaway` button to create a giveaway for your community — configure it, and you're ready to go! | ||
However, this feature isn’t available yet, so you’ll need to wait until the developers release it. For now, please continue using the Giveaways Module | ||
|
||
--- | ||
Fatih5252 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
## Best way to use "Log-In as Bot" | ||
Here is a text on where you can use Log-In as Bot: | ||
|
||
tasks such as creating announcements for your community, setting up self-role systems that allow users to assign roles to themselves with the click of a button, and posting your server rules in a clean and organized way using embeds or plain text. Additionally, it integrates seamlessly with custom commands, allowing you to trigger specific bot actions directly from the messages you send. Whether you're managing a large community. | ||
Fatih5252 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
--- | ||
<center><h1>Coming soon</h1></center> | ||
<center>We're still working on adding this documentation file - please check back later or raise a PR.</center> | ||
## Troubleshooting | ||
|
||
Fatih5252 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
**Your Bot needs the VIEW_CHANNEL and SEND_MESSAGES permissions on #XXXXX to use Login-As-A-Bot** | ||
Fatih5252 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
This error means that you didn’t grant Administrator permissions to your bot. However, it must have at least the `VIEW_CHANNEL` and `SEND_MESSAGES` permissions so it can see the channel and send messages to it. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.