started building a scam message checker
This commit is contained in:
parent
0ae75441c9
commit
3ec2b90e8e
7 changed files with 59 additions and 3 deletions
|
|
@ -272,6 +272,10 @@ func unban_member(guild_id: String, user_id: String):
|
|||
var res = await _send_request('/guilds/%s/bans/%s' % [guild_id, user_id], {}, HTTPClient.METHOD_DELETE)
|
||||
return res
|
||||
|
||||
func timeout_member(guild_id: String, user_id: String, until : String):
|
||||
var res = await _send_request('/guilds/%s/members/%s' % [guild_id, user_id], {'communication_disabled_until' = '2025-12-5T09:49:58.965896+00:00'}, HTTPClient.METHOD_PATCH)
|
||||
return res
|
||||
|
||||
|
||||
func permissions_for(user_id: String, channel_id: String):
|
||||
# Permissions for a user in a channel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue