aboutsummaryrefslogtreecommitdiff
path: root/definitions/structs/ban.yml
blob: ebfd2568a1d86fb73f82bd84ac623cd59071703c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
name: Ban
description: A representation of a banning of a user.
fields:
  - name: reason
    description: >
      The reason given for this ban.


      **Note**: Until the Audit Log feature is completed by Discord, then this
      will always be None.
    optional: true
    type: string
  - name: user
    description: The user that was banned.
    type: User