diff --git a/README.md b/README.md
index 1aed8a7..19485ca 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,13 @@
discord.ts
-
Build good bots fast
+
Build good bots fast
-> This package is in an early beta stage and not yet ready for consumption
+> This package is in early development and is not yet ready for production use. Please be aware that the API may change at any time. Use at your own risk.
-A solid and simple Discord API wrapper.
+This library is designed with three pillars in mind: **Simple**, **Maintainable**, and **Scalable**. It isn't guaranteed to be the fastest or the most feature rich, but you will probably find it to be the easiest to use and understand.
+
+It's typecript first and has some nifty features like hydration and argument type resolution. The goal here is to not have to worry about if you are using the Gateway, Webhooks, or Application commands. Ideally there is a single API that can be used to inferface with Discord.
## Installation
@@ -125,37 +127,56 @@ client.chatCommands.register('me', async (context: Context, _args: any[]) => {
Additionally you can hydrate repeatedly if you need to fetch multiple objects at different times.
-
\ No newline at end of file
diff --git a/package.json b/package.json
index 4f9f79b..7c73ae0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "discord.ts",
- "description": "A simple discord library for TypeScript. REST like and easy to use.",
+ "description": "A simple discord library primarily for TypeScript. REST like and easy to use.",
"version": "0.0.1",
"module": "src/index.ts",
"type": "module",
diff --git a/testing/demo.test.ts b/testing/demo.test.ts
index 98fa030..1dfa7e6 100644
--- a/testing/demo.test.ts
+++ b/testing/demo.test.ts
@@ -107,6 +107,42 @@ client.chatCommands.register('here', async (context: Context, _args: any[]) => {
});
// Interactions
+client.chatCommands.register('demo', async (context: Context, _args: any[]) => {
+ const msg = new Message()
+ .setContent('Hello World!')
+ .addComponent(
+ 'This is an action row',
+ // Max buttons in a row is 5
+ // Custom ID is required and must be unique
+ // Non-Link buttons can not have a URL
+ // Link buttons can not have a custom ID
+ Message.button({
+ label: 'Click me!',
+ style: ComponentStyle.Primary,
+ custom_id: 'button_1'
+ }),
+ Message.button({
+ label: 'No me!',
+ style: ComponentStyle.Secondary,
+ custom_id: 'button_2',
+ disabled: true
+ }),
+ Message.button({
+ label: 'Never, me!',
+ style: ComponentStyle.Success,
+ custom_id: 'button_3'
+ }),
+ // Link requires url and can not have custom_id
+ Message.button({
+ label: 'Piss off.',
+ style: ComponentStyle.Link,
+ url: 'https://example.com'
+ })
+ );
+
+ context.reply(msg);
+});
+
client.chatCommands.register('demo', async (context: Context, _args: any[]) => {
const msg = new Message()
.setContent('Hello World!')