Your friendly neighborhood leveling system
Earn experience by chatting in text and voice channels, compare levels with your friends, customize your profile and view various leaderboards!
View Weekly Leaderboard
.weekly [stat=exp] [displayname=True]
week
server_only
View Last Week's Leaderboard
.lastweekly
server_only
Configure Weekly LevelUp Settings
.weeklyset
ADMIN
wset
server_only
Reset the weekly leaderboard manually and announce winners
.weeklyset reset <yes_or_no>
Remove role from previous winner when new one is announced
.weeklyset autoremove
Set day for weekly stats reset
0 = Monday
1 = Tuesday
2 = Wednesday
3 = Thursday
4 = Friday
5 = Saturday
6 = Sunday
.weeklyset day <day>
Set number of winners to display
Due to Discord limitations with max embed field count, the maximum number of winners is 25
.weeklyset winners <count>
Toggle whether all winners get the role
.weeklyset roleall
Toggle auto reset of weekly stats
.weeklyset autoreset
Set role to award top weekly winners
.weeklyset role <role>
Set hour for weekly stats reset
.weeklyset hour <hour>
Set bonus exp for top weekly winners
.weeklyset bonus <bonus>
Set channel to announce weekly winners
.weeklyset channel <channel>
Toggle weekly stat tracking
.weeklyset toggle
View the current weekly settings
.weeklyset view
Toggle whether to ping winners in announcement
.weeklyset ping
View the LevelUp leaderboard
.leveltop [stat=exp] [globalstats=False] [displayname=True]
/leveltop [stat=exp] [globalstats=False] [displayname=True]
lvltop, topstats, membertop, and topranks
server_only
View the leaderboard for roles
.roletop
server_only
View User Profile
.profile [user]
/profile [user]
pf
3 per 10.0 seconds
server_only
Prestige your rank!
Once you have reached this servers prestige level requirement, you can
reset your level and experience to gain a prestige level and any perks associated with it
If you are over level and xp when you prestige, your xp and levels will carry over
.prestige
/prestige
server_only
Customize your profile
.setprofile
/setprofile
myprofile, mypf, and pfset
server_only
Toggle whether your nickname or username is shown in your profile
.setprofile shownick
/setprofile shownick
Remove a default background from the cog's backgrounds folder
.setprofile rembackground <filename>
/setprofile rembackground <filename>
BOT_OWNER
Add a custom font to the cog from discord
Arguments
preferred_filename
- If a name is given, it will be saved as this name instead of the filename
Note: do not include the file extension in the preferred name, it will be added automatically
.setprofile addfont [preferred_filename=None]
/setprofile addfont [preferred_filename=None]
BOT_OWNER
Set a color for your username
For a specific color, try Google's hex color picker
Set to default
to randomize the color each time your profile is generated
.setprofile namecolor <color>
/setprofile namecolor <color>
name
Set a color for your level bar
For a specific color, try Google's hex color picker
Set to default
to randomize the color each time your profile is generated
.setprofile barcolor <color>
/setprofile barcolor <color>
levelbar, lvlbar, and bar
Get the folder paths for this cog's backgrounds
.setprofile bgpath
/setprofile bgpath
BOT_OWNER
View the all available backgrounds
.setprofile backgrounds
/setprofile backgrounds
1 per 5.0 seconds
Set your profile image style
default
is the default profile style, very customizablerunescape
is a runescape style profile, less customizable but more nostalgic.setprofile style <style>
/setprofile style <style>
Set a color for your server stats
For a specific color, try Google's hex color picker
Set to default
to randomize the color each time your profile is generated
.setprofile statcolor <color>
/setprofile statcolor <color>
stat
View your profile settings
.setprofile view
/setprofile view
Remove a default font from the cog's fonts folder
.setprofile remfont <filename>
/setprofile remfont <filename>
BOT_OWNER
Add a custom background to the cog from discord
Arguments
preferred_filename
- If a name is given, it will be saved as this name instead of the filename
DISCLAIMER
.setprofile addbackground [preferred_filename=None]
/setprofile addbackground [preferred_filename=None]
BOT_OWNER
Set a font for your profile
To view available fonts, type .myprofile fonts
To revert to the default font, use default
for the font_name
argument
.setprofile font <font_name>
/setprofile font <font_name>
Get folder paths for this cog's fonts
.setprofile fontpath
/setprofile fontpath
BOT_OWNER
Toggle a slight blur effect on the background image where the text is displayed.
.setprofile blur
/setprofile blur
Set a background for your profile
This will override your profile banner as the background
WARNING
The default profile style is wide (1050 by 450 pixels) with an aspect ratio of 21:9.
Portrait images will be cropped.
Tip: Googling "dual monitor backgrounds" gives good results for the right images
Here are some good places to look.
dualmonitorbackgrounds
setaswall
pexels
teahub
Additional Options
url
blank or specify default
to reset back to using your profile banner (or random if you don't have one)random
will randomly select from a pool of default backgrounds each timefilename
run .mypf backgrounds
to view default options you can use by including their filename.setprofile background [url=None]
/setprofile background [url=None]
bg
View the available fonts you can use
.setprofile fonts
/setprofile fonts
1 per 5.0 seconds
Reward a good noodle
.stars [user]
/stars [user]
givestar, addstar, and thanks
server_only
View the Star Leaderboard
.startop [globalstats=False] [displayname=True]
topstars, starleaderboard, and starlb
server_only
Configure LevelUp Star Settings
.starset
ADMIN
server_only
Set the star cooldown
.starset cooldown <cooldown>
Toggle star reaction mentions
.starset mention
Toggle whether the bot auto-deletes the star mentions
Set to 0 to disable auto-delete
.starset mentiondelete <delete_after>
View Star Settings
.starset view
Owner Only LevelUp Settings
.levelowner
BOT_OWNER
lvlowner
server_only
Set the maximum number of backups to keep
.levelowner maxbackups <backups>
Add/Remove a server from the ignore list
.levelowner ignore <server_id>
Toggle ignoring bots for XP and profiles
USE AT YOUR OWN RISK
Allowing your bot to listen to other bots is a BAD IDEA and should NEVER be enabled on public bots.
.levelowner ignorebots
Toggle rendering of GIFs for animated profiles
.levelowner rendergifs
rendergif and gif
Set the external API URL for image generation
Set to an none
to disable the external API
Notes
.levelowner externalapi <url>
Set the cache time for user profiles
.levelowner cache <seconds>
Enable internal API for parallel image generation
Setting a port will spin up a detatched but cog-managed FastAPI server to handle image generation.
The process ID will be attached to the bot object and persist through reloads.
USE AT YOUR OWN RISK!!!
Using the internal API will spin up multiple subprocesses to handle bulk image generation.
If your bot crashes, the API subprocess will not be killed and will need to be manually terminated!
It is HIGHLY reccommended to host the api separately!
Set to 0 to disable the internal API
Notes
.levelowner internalapi <port>
Toggle purging of config data for servers the bot is no longer in
.levelowner autoclean
Toggle enforcing profile embeds
If enabled, profiles will only use embeds on all servers.
This disables image generation globally.
.levelowner forceembeds
forceembed
Set the interval for backups
.levelowner backupinterval <interval>
View Global LevelUp Settings
.levelowner view
Admin Only Data Commands
.leveldata
ADMIN
lvldata and ldata
server_only
Reset user data for all servers
.leveldata resetglobal
BOT_OWNER
Restore the cog's data
.leveldata restorecog
BOT_OWNER
Import levels and exp from Polaris
Make sure your server's leaderboard is public!
Arguments
➣ replace
- Replace existing data (True/False)
➣ include_settings
- Include Polaris settings (True/False)
➣ all_users
- Import all users regardless of if they're in the server (True/False)
.leveldata importpolaris <replace> <include_settings> <all_users>
GUILD_OWNER
Backup this server's data
.leveldata backup
Cleanup the database
Performs the following actions:
.leveldata cleanup
Reset all user data in this server
.leveldata reset
Backup the cog's data
.leveldata backupcog
BOT_OWNER
Restore this server's data
.leveldata restore
Import data from Fixator's Leveler cog
This will overwrite existing LevelUp level data and stars
It will also import XP range level roles, and ignored channels
Obviously you will need MongoDB running while you run this command
.leveldata importfixator
BOT_OWNER
Import levels and exp from AmariBot
Arguments
➣ import_by
- Import by level or exp
• If level
, it will import their level and calculate exp from that.
• If exp
, it will import their exp directly and calculate level from that.
➣ replace
- Replace existing data (True/False)
• If True, it will replace existing data.
➣ api_key
- Your AmariBot API key
➣ all_users
- Import all users regardless of if they're in the server (True/False)
.leveldata importamari <import_by> <replace> <api_key> <all_users>
GUILD_OWNER
Import levels and exp from Malarne's Leveler cog
Arguments
➣ import_by
- Import by level or exp
• If level
, it will import their level and calculate exp from that.
• If exp
, it will import their exp directly and calculate level from that.
➣ replace
- Replace existing data (True/False)
• If True, it will replace existing data.
➣ all_users
- Import all users regardless of if they're in the server (True/False)
.leveldata importmalarne <import_by> <replace> <all_users>
BOT_OWNER
Import levels and exp from MEE6
Arguments
➣ import_by
- Import by level or exp
• If level
, it will import their level and calculate exp from that.
• If exp
, it will import their exp directly and calculate level from that.
➣ replace
- Replace existing data (True/False)
➣ include_settings
- Include MEE6 settings (True/False)
➣ all_users
- Import all users regardless of if they're in the server (True/False)
.leveldata importmee6 <import_by> <replace> <include_settings> <all_users>
GUILD_OWNER
Reset the ENTIRE cog's data
.leveldata resetcog
BOT_OWNER
Configure LevelUp Settings
.levelset
ADMIN
lvlset and lset
server_only
Add XP to a user or role
.levelset addxp <user_or_role> <xp>
Voice settings
.levelset voice
Ignore muted voice users
Toggle whether self-muted users in a voice channel can gain voice XP
.levelset voice muted
Ignore invisible voice users
Toggle whether invisible users in a voice channel can gain voice XP
.levelset voice invisible
Set voice XP gain
Sets the amount of XP gained per minute in a voice channel (default is 2)
.levelset voice xp <voice_xp>
Add a range of bonus XP to apply to certain roles
This bonus applies to voice time xp
Set both min and max to 0 to remove the role bonus
.levelset voice rolebonus <role> <min_xp> <max_xp>
Add a range of bonus XP to apply to certain channels
This bonus applies to voice time xp
Set both min and max to 0 to remove the role bonus
.levelset voice channelbonus <channel> <min_xp> <max_xp>
Ignore deafened voice users
Toggle whether deafened users in a voice channel can gain voice XP
.levelset voice deafened
Add a range of bonus XP to users who are Discord streaming
This bonus applies to voice time xp
Set both min and max to 0 to remove the bonus
.levelset voice streambonus <min_xp> <max_xp>
Ignore solo voice users
Toggle whether solo users in a voice channel can gain voice XP
.levelset voice solo
Level up alert messages
Arguments
The following placeholders can be used:
• {username}
: The user's name
• {mention}
: Mentions the user
• {displayname}
: The user's display name
• {level}
: The level the user just reached
• {server}
: The server the user is in
If using dmrole or msgrole
• {role}
: The role the user just recieved
.levelset levelupmessages
lvlalerts, levelalerts, lvlmessages, and lvlmsg
Set the DM a user gets when they level up (Without recieving a role).
Arguments
The following placeholders can be used:
• {username}
: The user's name
• {mention}
: Mentions the user
• {displayname}
: The user's display name
• {level}
: The level the user just reached
• {server}
: The server the user is in
.levelset levelupmessages dm [message]
Set the DM a user gets when they level up and recieve a role.
Arguments
The following placeholders can be used:
• {username}
: The user's name
• {mention}
: Mentions the user
• {displayname}
: The user's display name
• {level}
: The level the user just reached
• {server}
: The server the user is in
• {role}
: The role the user just recieved
.levelset levelupmessages dmrole [message]
Set the message sent when a user levels up and recieves a role.
Arguments
The following placeholders can be used:
• {username}
: The user's name
• {mention}
: Mentions the user
• {displayname}
: The user's display name
• {level}
: The level the user just reached
• {server}
: The server the user is in
• {role}
: The role the user just recieved
.levelset levelupmessages msgrole [message]
Set the message sent when a user levels up.
Arguments
The following placeholders can be used:
• {username}
: The user's name
• {mention}
: Mentions the user
• {displayname}
: The user's display name
• {level}
: The level the user just reached
• {server}
: The server the user is in
.levelset levelupmessages msg [message]
View the current level up alert messages
.levelset levelupmessages view
Level role assignment
.levelset roles
Unassign a role from a level
.levelset roles remove <level>
rem and del
Initialize level roles
This command is for if you added level roles after users have achieved that level,
it will apply all necessary roles to a user according to their level and prestige
.levelset roles initialize
init
1 per 240.0 seconds
Automatic removal of previous level roles
.levelset roles autoremove
Assign a role to a level
.levelset roles add <level> <role>
Remove XP from a user or role
.levelset removexp <user_or_role> <xp>
Set LevelUp log channel
Set a channel for all level up messages to send to.
If level notify is off and mention is on, the bot will mention the user in the channel
.levelset levelchannel [channel=None]
Reset the emojis to default
.levelset resetemojis
Toggle whether the bot auto-deletes the star mentions
Set to 0 to disable auto-delete
.levelset starmentiondelete <deleted_after>
Customize the leveling algorithm for your server
• Default base is 100
• Default exp is 2
Equation
➣ Getting required XP for a level
• base * (level ^ exp) = XP
➣ Getting required level for an XP value
• level = (XP / base) ^ (1 / exp)
Arguments
➣ part
- The part of the algorithm to change
➣ value
- The value to set it to
.levelset algorithm <part> <value>
algo
Set a user to a specific prestige level
Prestige roles will need to be manually added/removed when using this command
.levelset setprestige <user> <prestige>
Toggle the LevelUp system
.levelset toggle
Force a profile style for all users
Specify none
to disable the forced style
.levelset forcestyle <style>
Toggle star reaction mentions
Toggle whether the bot mentions that a user reacted to a message with a star
.levelset starmention
Set the emojis used to represent each stat type
.levelset emojis <level> <prestige> <star> <chat> <voicetime> <experience> <balance>
Toggle DM notifications
Determines whether LevelUp messages are DM'd to the user
.levelset dm
Base command for all ignore lists
.levelset ignore
Add/Remove a role in the ignore list
Members with roles in the ignore list don't gain XP
Use the command with a role already in the ignore list to remove it
.levelset ignore role <role>
Add/Remove a user in the ignore list
Members in the ignore list don't gain XP
Use the command with a user already in the ignore list to remove them
.levelset ignore user <user>
Add/Remove a channel in the ignore list
Channels in the ignore list don't gain XP
Use the command with a channel already in the ignore list to remove it
.levelset ignore channel <channel>
Send levelup message in the channel the user is typing in
Send a message in the channel a user is typing in when they level up
.levelset levelnotify
Toggle whether to show user's economy credit balance in their profile
.levelset showbalance
showbal
Toggle whether to mention the user in the level up message
If level notify is on AND a log channel is set, the user will only be mentioned in the channel they are in.
.levelset mention
Base command for all allowed lists
.levelset allowed
Add/Remove a channel in the allowed list
If the allow list is not empty, only channels in the list will gain XP
Use the command with a channel already in the allowed list to remove it
.levelset allowed channel <channel>
Add/Remove a role in the allowed list
If the allow list is not empty, only roles in the list will gain XP
Use the command with a role already in the allowed list to remove it
.levelset allowed role <role>
Message settings
.levelset messages
message and msg
Add a range of bonus XP to apply to certain channels
This bonus applies to message xp
Set both min and max to 0 to remove the role bonus
.levelset messages channelbonus <channel> <min_xp> <max_xp>
Set minimum message length for XP
Minimum length a message must be to count towards XP gained
Set to 0 to disable
.levelset messages length <length>
Set message XP range
Set the Min and Max amount of XP that a message can gain
Default is 3 min and 6 max
.levelset messages xp <min_xp> <max_xp>
Add a range of bonus XP to apply to certain roles
This bonus applies to message xp
Set both min and max to 0 to remove the role bonus
.levelset messages rolebonus <role> <min_xp> <max_xp>
Cooldown threshold for message XP
When a user sends a message they will have to wait X seconds before their message
counts as XP gained
.levelset messages cooldown <cooldown>
Set a user's level
Arguments
• user
- The user to set the level for
• level
- The level to set the user to
.levelset setlevel <user> <level>
Prestige settings
.levelset prestige
Remove a prestige level
.levelset prestige remove <prestige>
rem and del
Set the level required to prestige
.levelset prestige level <level>
Toggle stacking roles on prestige
For example each time you prestige, you keep the previous prestige roles
.levelset prestige stack
Add a role to a prestige level
.levelset prestige add <prestige> <role> <emoji>
bot_has_server_permissions
Keep level roles after prestiging
.levelset prestige keeproles
Add or remove a role to the role group
These roles gain their own experience points as a group
When a member gains xp while having this role, the xp they earn is also added to the role group
.levelset rolegroup <role>
Toggle whether users can gain Exp from running commands
.levelset commandxp
View all LevelUP settings
.levelset view
Test the level algorithm
View the first 20 levels using the current algorithm to test experience curve
.levelset seelevels
Toggle using embeds or generated pics
.levelset embeds
Set the star cooldown
Users can give another user a star every X seconds
.levelset starcooldown <seconds>