# Bot wont send message in x channel

the main reason the bot will not send a message in x channel it probably because of permissions for that channel&#x20;

to fix the bot click on the gear icon next to the channel the bot cant send a message in\
if there is no gear icon you are not an admin of that server and you should ask an admin or owner to do this.

![](/files/-MQrL7t3pXx58-C7D3S3)

now your channel settings will appear click on the 'Permissions' tab so your screen will look like this once it does you need to add a role in this case it's going to be called "SpartBot" by clicking the + circled in red&#x20;

![](/files/-MQrM1Hbf0ImIfh0L7Z6)

Once you have clicked the + a small window will pop up with all the server roles and some users you can use the search function to find the SpartBot role once you have found it click on it

check all these permissions so it looks like the photos below

![](/files/-MQrNDqW5Yl0HVvMmZOS)

![](/files/-MQrNHhHPtR0sY1EdMlP)

![](/files/-MQrNLslmWFAKiwl-8bh)

once they are ticked and look like that click the 'save changes' button \
now you are done click the back button or esc key

any problems with the bot or docs?  [contact one of us](/spartbot/i/contact.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://coderty.gitbook.io/spartbot/common-problems/bot-wont-send-message-in-x-channel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
