Simple referral system for Discord servers.
Claim a referral
Usage: /referredby <referred_by>
referred_by: (Required) The user who referred you
Checks: Server Only
Claim a referral
Claim a referral from a user who referred you
If referral rewards are enabled, you will receive the reward for being referred.
If referrer rewards are enabled, the person who referred you will also receive a reward.
.referredby <referred_by>ensure_db_connection and server_onlyCheck your referrals
.myreferrals/myreferralsensure_db_connection and server_onlyCheck if a specific user has been referred
.whoreferred <user>/whoreferred <user>ensure_db_connection and server_onlySettings for the referral system
.refersetADMINrefset and referralsetserver_onlySet the channel where referral events will be sent
.referset channel [channel=None]ensure_db_connectionSet the reward for referring or being referred
Arguments:
reward_type - Either referral or referredreferral - The reward for referring someonereferred - The reward for being referredamount - The amount of currency to rewardSet to 0 to disable the reward
.referset reward <reward_type> <amount>ensure_db_connectionSet the time frame for users to claim their reward after joining
timeout - The time frame in the format of 30m, 1h, 2d12h, etc..referset timeout <timeout>ensure_db_connectionReset all referral records for the server
This keeps your settings but removes all referral history.
.referset resetreferrals <confirm>ensure_db_connectionSet the minimum account age for referred users to be eligible for rewards
age - The minimum account age in the format of 30m, 1h, 2d12h, etc..referset age <age>ensure_db_connectionView the current settings for the server
.referset viewensure_db_connectionReset the list of initialized users for the server
This clears the record of which users have been initialized, allowing them
to potentially claim referrals.
.referset resetinitialized <confirm>ensure_db_connectionToggle the referral system on or off
.referset toggleensure_db_connectionReset all referral data and settings for the server
This deletes all referrals and settings, completely starting fresh.
.referset resetall <confirm>ensure_db_connectionReset all referral settings for the server
This keeps your referral history but resets all configuration settings.
.referset resetsettings <confirm>ensure_db_connectionList all referrals made in the server
.referset listreferralsensure_db_connectionInitialize all unreferred users in the server so they cannot retroactively claim rewards
.referset initinitializeensure_db_connection