🐍
KSoftAPI.py
  • KSoftAPI.py
  • Response Types
  • Endpoints
    • Images
    • Bans
    • Kumo
    • Music
Powered by GitBook
On this page
  • Check if an user is banned
  • Get information about a ban
  • Report a user

Was this helpful?

  1. Endpoints

Bans

Advanced and powerful global ban list API

PreviousImagesNextKumo

Last updated 4 years ago

Was this helpful?

Check if an user is banned

await ksoft.bans.check(user_id)

Parameter

Type

user_id

int

Success: Returns a bool

await ksoft.bans.check(380441229416071170)

Get information about a ban

await ksoft.bans.info(user_id)

Parameter

Type

user_id

int

Success: Returns a

Not Found: Raises NoResults

await ksoft.bans.info(380441229416071170)

Report a user

await ksoft.bans.add(user_id, reason, proof, mod, user_name, user_discriminator, appeal_possible)

Parameter

Type

user_id

int

reason

str

proof

str

mod

int

user_name

str

user_discriminator

str

appeal_possible

bool

await ksoft.bans.add(741009299056230470, 'DM Ads', 'https://i.imgur.com/kI2Yg8y.png')

BanInfo