You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Because why not?** If you ever wanted to show your status with context aside from your Github Status, or wanting to go beyond styling your README by adding some extra toppings, or wanting to let some birds (strangers) know what you are doing at some point in time, then this action workflow might be for you!
40
40
41
-
## What it can do and what does it contain?
42
-
43
-
* Containerized with Docker and Cached with Buildx (in Github Actions)
44
-
* Contains Discord Client Handler
45
-
* Contains Custom Async Rewrite based on PyGithub
46
-
* It can run locally and Remote with Github Actions (ONLY)
47
-
* Python Code Annotated and Typed, Implemented under Async
48
-
* String Manipulation and Logic for Badge Construction
49
-
* Customizable Badge Output and others
50
-
* With Dependency Management, Poetry
51
-
* Utility functions that can be reusable, and etc.
41
+
>Disclaimer: I did this for fun. But that fun were took over my standards. Check out [wiki](https://github.com/CodexLink/discord-activity-badge/wiki) for more information.</pre>
52
42
53
43
## Steps
54
44
@@ -65,19 +55,27 @@ The following contains the steps needed to make this action work properly. Keep
65
55
Ever since I don't provide anything such as the Bot that I use for reading my activities, you have to make it on your own. You can go to [Discord Developers](https://discord.com/developers/) and start ahead by creating a new application.
Once you have created a new application, you have to go to the sidebar or menu and go to the **Bot settings**, and add a bot. And then, copy the token and store it somewhere temporarily as we are going to use it later on in the next two steps.
As a side note, you have to enable the presence and server members intent **on the same settings (Bot settings)** to allow your bot to read your presence context and the members' states and other kinds of stuff about them.
*Don't forget to save before proceeding to the next step!!!*
82
80
83
81
### Inviting the Bot to a Guild
@@ -88,18 +86,22 @@ Keep in mind that, you can either **create your own guild** or have someone else
88
86
89
87
To invite, you have to go to the **OAuth2** settings and check the **OAuth2 URL Generator**. Look for **Bot** scope and check it, you will be given a generated link.
In the end, you should have these two repository secrets. The token is from the one that we obtained in the Discord Developers Section, and the one is from you yourself in the Discord Client.
141
147
142
148
**DISCORD_USER_ID** can be obtained by the following.
If you did the run for the first time, the badge will tend to append on the top of your README, you can adjust it to somewhere else and the badge will be replaced by the script, no matter where it is.
@@ -340,4 +354,4 @@ Some of the questions here were snipped. They will redirect you to the answer.
340
354
http://www.apache.org/licenses/LICENSE-2.0
341
355
```
342
356
343
-
You may see the [LICENSE.md](https://github.com/CodexLink/discord-rich-presence-activity-badge/blob/main/LICENSE) file for more information.
357
+
You may see the [LICENSE](https://github.com/CodexLink/discord-rich-presence-activity-badge/blob/main/LICENSE) file for more information.
0 commit comments