🪙 Economy

Einstellungen Schreiben

Die Regler schreiben - was bis heute nichts konnte.

put/api/v1/servers/{server_id}/economy/settings

Request

  • Base URL: https://api.notoq.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.notoq.xyz/api/v1/servers/{server_id}/economy/settings
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

Request body

is_enabledboolean nullable
starting_balanceinteger nullable
max_daily_amountinteger nullable
gems_per_messageinteger nullable
gems_per_voice_minuteinteger nullable
daily_cooldowninteger nullable
work_cooldowninteger nullable
crime_cooldowninteger nullable
rob_cooldowninteger nullable
work_multipliernumber nullable
daily_multipliernumber nullable
robbery_enabledboolean nullable
trading_enabledboolean nullable
gambling_enabledboolean nullable
economy_channel_idstring nullable
transaction_log_channel_idstring nullable

Response

Successful Response

successboolean required
dataobject required
messagestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.