Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PyDroid1020 authored Feb 10, 2023
1 parent 61ede0f commit 51e5d81
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def user_info(interaction:nextcord.Interaction , user:nextcord.Member=next
client.run("YOUR TOKEN")
```

# Level options
# Level
```py
Civi.setup() # Use it in client on_ready event

Expand All @@ -63,13 +63,18 @@ Civi.add_user_xp(guild_id , member_id , xp) # Add more xp to user
Civi.decrease_user_xp(guild_id , member_id , xp) # Decrease xp from user
```

# Settins Options
# Settings
```py
Civi.settings.guild.reset_guild_data(guild_id) # Delete all guild data

Civi.settings.repair() # Fix Civi
```

# Events
```py
Civi.events.on_new_level(guild_id , user_id) # Check if the user has reached new level (Use it in on_message event)
```

# Install Civi
```
You can't now but you can download "civ" file in Ci/ folder and import it
Expand Down

0 comments on commit 51e5d81

Please sign in to comment.