import { RestOptions } from '@src/rest/interfaces/RestOptions' ; import { version } from '@src/utils/version' ; export const REST_DEFAULT_OPTIONS = { version : 9 , userAgent : `DiscordBot (https://github.com/Discordoo/discordoo, ${ version }) NodeJS/${ process . version }` , maxRetries : 1 , requestTimeout : 30000 , latencyThreshold : 30000 , domain : 'discord.com' , scheme : 'https' , headers : { } , defaultImageFormat : 'png' , rateLimits : { disable : false , globalLimit : 50 , invalidLimit : 10000 , } , } ;