Skip to content

Commit df79787

Browse files
eslachancegitbook-bot
authored andcommitted
GitBook: [master] 65 pages modified
1 parent 00dc3c1 commit df79787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frequently-asked-questions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ client.on("ready", () => {
3939
})
4040
```
4141

42-
Note: You can find a list of all possible acitvity types [here](https://discord.js.org/#/docs/main/stable/typedef/ActivityType).
42+
Note: You can find a list of all possible activity types [here](https://discord.js.org/#/docs/main/stable/typedef/ActivityType).
4343

4444
{% hint style="info" %}
4545
If you want your bot show up as "streaming" you need to provide a twitch URL in the options object \(for setActivity\) or `game.url` \(for setPresence\) alongside with the activity type "STREAMING". Streaming non-twitch URLs is currently not supported by the Discord API.
@@ -175,7 +175,7 @@ client.on("guildMemberAdd", member => {
175175
});
176176
```
177177

178-
It's very important to note that if the bot has admin perms, their "First writeable channel" is the one on top. That could be Rules, Announcements, FAQs, whatever. So if the default channel was deleted and there's no general channel, you're going to annoy a lot of people.
178+
It's very important to note that if the bot has admin perms, their "First writable channel" is the one on top. That could be Rules, Announcements, FAQs, whatever. So if the default channel was deleted and there's no general channel, you're going to annoy a lot of people.
179179

180180
Consider using [Enmap](https://npmjs.com/package/enmap) for per-guild settings instead \([example here](https://gist.github.com/eslachance/5c539ccebde9fa76340fb5d54889aa22)\) and let server admins **choose** a channel!
181181

0 commit comments

Comments
 (0)