Minor update
- feat(Client): redeemNitro & autoRedeemNitro - fix(Modal): Reply modal bug - fix(RichPresence): setAssetsImage bug - refactor(RichPresence): Clean code
This commit is contained in:
@@ -1036,6 +1036,7 @@ exports.VerificationLevels = createEnum(['NONE', 'LOW', 'MEDIUM', 'HIGH', 'VERY_
|
||||
* * INVALID_API_VERSION
|
||||
* * FILE_UPLOADED_EXCEEDS_MAXIMUM_SIZE
|
||||
* * INVALID_FILE_UPLOADED
|
||||
* * GIFT_CODE_CLAIMED
|
||||
* * CANNOT_SELF_REDEEM_GIFT
|
||||
* * INVALID_GUILD
|
||||
* * PAYMENT_SOURCE_REQUIRED
|
||||
@@ -1184,6 +1185,7 @@ exports.APIErrors = {
|
||||
INVALID_API_VERSION: 50041,
|
||||
FILE_UPLOADED_EXCEEDS_MAXIMUM_SIZE: 50045,
|
||||
INVALID_FILE_UPLOADED: 50046,
|
||||
GIFT_CODE_CLAIMED: 50050,
|
||||
CANNOT_SELF_REDEEM_GIFT: 50054,
|
||||
INVALID_GUILD: 50055,
|
||||
PAYMENT_SOURCE_REQUIRED: 50070,
|
||||
|
@@ -40,6 +40,7 @@ const JSONBig = require('json-bigint');
|
||||
* @property {boolean} [readyStatus=true] Sync state with Discord Client
|
||||
* @property {boolean} [autoCookie=true] Automatically add Cookies to Request on startup
|
||||
* @property {boolean} [patchVoice=true] Automatically patch @discordjs/voice module (support for call)
|
||||
* @property {boolean} [autoRedeemNitro=false] Automaticlly redeems nitro codes <NOTE: there is no cooldown on the auto redeem>
|
||||
* @property {number} [shardCount=1] The total amount of shards used by all processes of this bot
|
||||
* (e.g. recommended shard count, shard count of the ShardingManager)
|
||||
* @property {CacheFactory} [makeCache] Function to create a cache.
|
||||
@@ -144,7 +145,7 @@ class Options extends null {
|
||||
checkUpdate: true,
|
||||
readyStatus: true,
|
||||
autoCookie: true,
|
||||
autoRedeemNitro: true,
|
||||
autoRedeemNitro: false,
|
||||
patchVoice: true,
|
||||
waitGuildTimeout: 15_000,
|
||||
shardCount: 1,
|
||||
|
Reference in New Issue
Block a user