aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pydis_site/apps/content/resources/guides/python-guides/setting-different-statuses-on-your-bot.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/pydis_site/apps/content/resources/guides/python-guides/setting-different-statuses-on-your-bot.md b/pydis_site/apps/content/resources/guides/python-guides/setting-different-statuses-on-your-bot.md
new file mode 100644
index 00000000..982088a3
--- /dev/null
+++ b/pydis_site/apps/content/resources/guides/python-guides/setting-different-statuses-on-your-bot.md
@@ -0,0 +1,39 @@
+---
+title: Setting Different Statuses to Set Your Bot
+description: How to personalize your Discord bot status
+---
+**Different Statuses to Set Your Bot:**
+```python
+# Setting 'Playing' status
+await client.change_presence(activity=discord.Game(name="a game"))
+```
+```python
+# Setting 'Streaming' status
+await client.change_presence(activity=discord.Streaming(name="My Stream", url=my_twitch_url))
+```
+```python
+# Setting 'Listening' status
+await client.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="a song"))
+```
+```python
+# Setting 'Watching' status
+await client.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name="a movie"))
+```
+
+**Add Optional Status as Well:**
+```python
+status=discord.Status.<status>
+```
+**Available Statuses:**
+```python
+do_not_disturb (red icon)
+```
+```python
+idle (yellow icon)
+```
+```python
+online (default, green icon)
+```
+```python
+offline (gray icon)
+``` \ No newline at end of file