⚙️Config

This page explains each config variable. Many settings dont need manual configuration, instead use the /setup command, it will make your life way easier!

Main settings:

  • license_key: Your license key that you got after purchasing

  • token: Your bot token, make sure to give the bot administrator privileges and move it above the customer and claim ping role (or above all roles)

  • guildId: Your discord guild ID, get it by enabling developer options in discord and by right clicking your server

  • syncCommands: Whether or not to sync commands and delete old ones. Its recommended you turn this on after each update of the bot. It will be turned off automatically after all commands have been synced.

  • businessName: This will be displayed for example on the queue embed or stats embed.

  • Role IDs:

    • owner_role: Discord role id of the owner role, has the highest privileges.

    • support_role: Discord role id of the support role, can add and transfer credits.

    • customer_role: Discord role id of the customer role, will be added to a member when /add_credits is used on them or when they finish an order via Coinbase Commerce or e-commerce integration (Sellix/Sellpass)

    • claim_ping_role: Discord role id, of the role that will be pinged on every claim you get. Use /send_claim_ping_button to send an embed with a button that will give this role.

  • Channel IDs:

    • success_channel: Discord channel id of the channel where your snipers send success webhook messages.

    • bot_logs_channel: Discord channel id of the channel where the bot should send logs, keep this channel private.

    • public_claims_channel: Discord channel id of the channel where the bot should send public claim messages, keep this channel visible to all users. Like this:

    • bank_channel: Discord channel id of the channel where the bot will send the bank embed. Make sure to keep this channel visible to all users, but restrict anyone from chatting in it.

    • queue_channel: Discord channel id of the channel where the bot will send the queue embed. Make sure to keep this channel visible to all users, but restrict anyone from chatting in it.

    • stats_channel: Discord channel id of the channel where the bot will send the stats embed. Make sure to keep this channel visible to all users, but restrict anyone from chatting in it.

    • vouch_channel: Discord channel id of the channel where the bot will refer customers to when there order is finished. Make sure to make this channel visible to all users and only allow users to send messages who have the customer role defined by customer_role in the role_ids section.

  • Emojis:

    All emojis must either look like this <a:boost:1156525494863401031> or this boost:1156525494863401031.

    • boost_emoji: The emoji the bot should use when you claim either Nitro Monthly or Nitro Yearly. This will also be used for guaranteed boost queue positions.

    • classic_emoji: The emoji the bot should use when you claim either Nitro Classic Monthly or Nitro Classic Yearly.

    • basic_emoji: The emoji the bot should use when you claim either Nitro Basic Monthly or Nitro Basic Yearly.

    • current_emoji: The emoji the bot should use for the 1st position of the queue.

    • waiting_emoji: The emoji the bot should use for all other positions of the queue.

    • reaction_emoji: The emoji the bot should use to react to each claim message.

    • react_to_claims: Set this to true of the bot should react to each claim message, set it to false if the bot shouldn't react to claim messages.

  • Misc:

    • embed_color: The color the bot should use for all embeds, must be in hex int format with 0x at the beginning (e.g. 0x5e66b5). Use this website https://colors-picker.com/hex-color-picker/ to get your own color. Simply pick a color and add 0x to the beginning of it.

    • embed_footer_img_link: The bot will use this image for the queue, bank and stats embeds. This must be a direct link to your image, the new links you get from discord wont work. A valid link would be https://cdn.nest.rip/uploads/80b8b7cc-421a-4fa3-8d66-03d7f697f225.png as it ends in .png.

    • empty_queue_token: The bot will snipe on this token when your queue is empty.

    • claim_message_mode: Set this to 1 for normal messages and to 2 for embeds. I recommend using 1 as it looks cleaner.

    • show_token_in_logs: If set to true the bot will show tokens in the bot logs channel, for example when someone redeems credits.

    • auto_check_snipers: If set to true the bot will check all snipers every 10 minutes and will try to restart them if they arent running anymore.

    • rotate_queue: If set to true the bot will move the user from the first position down to the bottom of the queue after each claim instead of waiting until their order is done.

    • debug: If set to true this will print some additional debug statements that I have added for development reasons. You can keep this set to false.

    • reseller_detection: If set to true the bot will check if the user id of the user that is trying to redeem credits is matching with the user id of the token, if they dont match then the user cant redeem. People who have the reseller role and if the reseller system is enabled will be able to bypass this. Use this if you dont want people to resell without permission, of course the resellers can just gift the credits to their customers, however to do this they would need to invite their customers to your server, which means that they will lose the customers as they can get the Claims cheaper in your store.

    • max_threads_for_vps_operations: Keep the default value (20) if you dont have performance issues, even if you dont have 20 servers you can still leave this set to 20. If you do experience performance issues (for example when the bot checks if your snipers are still running) then just set it to a lower value like 5.

    • guaranteed_boost_enabled: If set to true your customers will be able to redeem guaranteed_boost claims. With this enabled they will still get Nitro Basic/Classic, however only Nitro Monthly or Nitro Yearly will count towards their claims.

    • credits_cost_for_guaranteed_boost: How many credits customers need to spend to redeem one guaranteed boost claim. It is highly recommended to set this to minimum 3, otherwise your queue will get very long.

    • automatic_error_reporting: If set to true this will basically send an error report to the dev when the bot encounters an unexpected error. Keep this enabled if you want to help with improving the bot. No sensitive information will be shared.

  • E-Commerce integration:

    Check Ecommerce Integration for a setup guide.

  • enabled: Enables this feature

  • webhook_channel_id: The channel id where your E-Commerce platform sends webhooks for completed purchases.

  • ecommerce_platform: 1=Sellix, 2=Sellpass

  • product_name: The exact name of your Nitro Credits product, which is displayed on the webhook embeds (set on your E-Commerce platform website). You can set multiple product names, e.g. ["product_1", "product_2"]

  • product_name_field: The exact name of the field on the webhook embed that has your product_name.

  • quantity_field: The exact name of the field on the webhook embed that has the quantity of the purchased item.

  • discord_id_field: The exact name of the field on the webhook embed that has the discord id, which the user entered.

  • Hoodpay integration

    Check Hoodpay Integration for a setup guide.

  • enabled: Enables this feature

  • api_key: Your Hoodpay api key.

  • business_id: Your Hoodpay business id

  • currency: The currency you want to use (e.g. EUR)

  • price_per_claim: How much each credit should cost in the currency set above.

  • min_claims: The minimum amount of claims a user can purchase using the Coinbase integration.

Reseller system:

This feature only applies for the Coinbase integration.

  • enable: Enables this feature

  • reseller_role_id: The Discord role id of the reseller role. Users need this role to get the discount.

  • reseller_price_per_claim: The price per credit resellers need to pay.

  • reseller_min_claims: The minimum amount of credits resellers can purchase.

Mis à jour