Welcome to CoreMart!

By registering with us, you'll be able to discuss, share, download resources and private message with other members of our community.

Sign-Up Now!
Resource icon

Corebot Addon Staff Clock | Corebot Addon 1.1

Current Features
  • Console Logging for clocking in/out
  • Discord Channel Logging for clocking in/out
  • Given Roles for clocking in/out
  • Taken Roles for clocking in/out
  • View a users time for any timeframe (1s, 1m, 1d)
  • View a users universal time for 24H, 7d, 30d and all time
  • View how many times a user has clocked in for any timeframe
  • Advanced Discord Time Formatting
screenshots.png

1642643028703.png
ZjESeg78d0.gif

1642643190519.png
1642643149912.png

1642643190672.png

1642643336677.png

configuration.png

YAML:
RequiredRole: "@everyone"
Roles:
  UserClockedIn:
    Given:
      - On Duty
    Taken:
      - Off Duty
  UserClockedOut:
    Given:
      - Off Duty
    Taken:
      - On Duty
Logging:
  Console:
    Enabled: true
    Formats:
      UserClockedIn: "\e[34m[StaffClock]\e[0m {user-tag} ({user-id}) clocked in @
        \e[36m\e[4m{time-in}\e[0m"
      UserClockedOut: "\e[34m[StaffClock]\e[0m {user-tag} ({user-id}) clocked out @
        \e[36m\e[4m{time-out}\e[0m"
  Discord:
    Enabled: true
    Channels:
      - Staff-Logs
    Formats:
      UserClockedIn:
        Title: User Clocked IN!
        Description: The user {user-mention} clocked in on the staff clock!
        Fields:
          - name: "> 👮 **User**"
            value: |-
              {user-mention} {user-tag}
              ({user-id})
            inline: true
          - name: "> ⏰ **Time**"
            value: <t:{time}:f>
            inline: true
      UserClockedOut:
        Title: User Clocked OUT!
        Description: The user {user-mention} clocked out on the staff clock!
        Fields:
          - name: "> 👮 **User**"
            value: |-
              {user-mention} {user-tag}
              ({user-id})
            inline: true
          - name: "> ⏰ **Time**"
            value: |-
              **Time In**: <t:{time-in}:f>
              **Time In**: <t:{time-out}:f>
              **Total Time**: {time-difference}
            inline: true
Commands:
  ClockIn:
    name: clockin
    RequiredRole: "@everyone"
    description: Clock in on the staff clock so you can get paid!
    type: staff
    aliases: []
    usage: clockin
  ClockOut:
    name: clockout
    RequiredRole: "@everyone"
    description: Clock out on the staff clock so you can get paid!
    type: staff
    aliases: []
    usage: clockout
  PTime:
    name: ptime
    RequiredRole: "@everyone"
    description: Check the time a user has on the staff clock!
    type: staff
    aliases: []
    usage: ptime <user> <time(1s,1h,1d,1m)>
Embeds:
  Errors:
    UserAlreadyClockedIn:
      Title: ❌ User Already Clocked In
      Description: |-
        {user-mention} you are already clocked in!
        > Your timeClock started at <t:{time}:f>
      Color: "#f52c2c"
    UserNotClockedIn:
      Title: User Not Clocked In
      Description: >-
        {user-mention} you were not clocked in! Please clock in by running
        ``-clockin`` before running ``-clockout``.
        > If this was a mistake please contact an admin.
      Color: "#f52c2c"
    MissingData:
      Title: Missing User Data
      Description: Missing the user data for {user-mention} ({user-tag}). Please make
        sure they have completed a whole clock session.
      Color: "#f52c2c"
  Success:
    UserClockedIn:
      Title: ✅ User Clocked IN
      Description: |-
        I successfully clocked the user {user-mention} ({user-tag}) in.
        > Your timeClock started at <t:{time}:f>
      Color: "#25de1f"
    UserClockedOut:
      Title: ⏰ User Clocked OUT
      Description: |-
        {user-mention} ({user-tag}) successfully clocked out!
        **Time In**: <t:{time-in}:f>
        **Time Out**: <t:{time-out}:f>
        **Total Time**: {time-difference}
    TimeClockSpecific:
      Title: "{user-tag}'s ({user-id}) TimeClock Stats"
      Description: >-
        The user has clocked in **{total-times} times** since
        <t:{time-frame}:f>.
        > Total Time: {time}
      ClockedIN: ✅ Clocked In
    TimeClockGlobal:
      Title: "{user-username}'s TimeClock Stats"
      Fields:
        - name: Total Time
          value: "> {total-time}"
        - name: 30 Days
          value: "> {time-30D}"
        - name: 7 Days
          value: "> {time-7D}"
        - name: 24 Hours
          value: "> {time-24H}"
59L_encrypted.png

59L_Discord.PNG
  • 1642643336677.png
    1642643336677.png
    126 KB · Views: 78
  • 1642643336677.png
    1642643336677.png
    126 KB · Views: 76
  • 1642643336677.png
    1642643336677.png
    126 KB · Views: 72
  • 1642643028703.png
    1642643028703.png
    134.5 KB · Views: 80
Author
Zorino
Type
Digital product
License duration
Unlimited
Price
5.99 GBP
Views
699
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Zorino

Back
Top