Updated README.md; Changed scripts in ci;
This commit is contained in:
@@ -15,10 +15,10 @@ jobs:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: use NodeJS v22.16.0
|
||||
- name: use NodeJS v22.12.0
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22.16.0'
|
||||
node-version: '22.12.0'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
always-auth: true
|
||||
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
run: npm install
|
||||
|
||||
- name: run Rollout Build
|
||||
run: npm run rolloutBuild
|
||||
run: npm run build
|
||||
|
||||
- name: Publish Library
|
||||
run: npm publish
|
||||
|
||||
@@ -20,4 +20,4 @@ jobs:
|
||||
run: npm install
|
||||
|
||||
- name: run Rollout Build
|
||||
run: npm run rolloutBuild
|
||||
run: npm run build
|
||||
|
||||
@@ -78,7 +78,7 @@ let audioManager = new AudioManager(
|
||||
#### Properties
|
||||
|
||||
| Callable with | Type | Description |
|
||||
|-------------------|------------------------------|-------------------------------------------------|
|
||||
| ----------------- | ---------------------------- | ----------------------------------------------- |
|
||||
| `VoiceConnection` | **VoiceConnection** | VoiceConnection instance from discord.js/voice. |
|
||||
| `AudioPlayer` | **AudioPlayer** | AudioPlayer instance from discord.js/voice. |
|
||||
| `AudioResource` | **AudioResource** | AudioResource instance from discord.js/voice. |
|
||||
@@ -88,7 +88,7 @@ let audioManager = new AudioManager(
|
||||
#### Methods
|
||||
|
||||
| Callable with | Parameters | Return type | Description | |
|
||||
|--------------------------------|---------------------------------------------------------|-------------|---------------------------------------------------------------|----------------------------------------|
|
||||
| ------------------------------ | ------------------------------------------------------- | ----------- | ------------------------------------------------------------- | -------------------------------------- |
|
||||
| `OverrideVoiceConnectionData` | `connectionData` (type of **VoiceConnectionDataModel**) | void | Method to override global connectionData variable. | |
|
||||
| `OverrideVoiceAudioDataModel` | `audioData` (type of **VoiceAudioDataModel**) | void | Method to override global audioData variable. | |
|
||||
| `OverrideRenewInMs` | `renewInMs` (type of int, default value is 5400000) | void | Method to override global renewInMs variable. | |
|
||||
|
||||
Reference in New Issue
Block a user