Skip to content

Commit

Permalink
Add agegate support
Browse files Browse the repository at this point in the history
  • Loading branch information
greeeen-dev committed Mar 5, 2025
1 parent 735d3b1 commit 77cd342
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions revolt_bridge_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.files_per_guild = True
self.filesize_limit = 20000000
self.supports_agegate = True

def bot_id(self):
return self.bot.user.id
Expand Down Expand Up @@ -118,6 +119,9 @@ def get_member(self, server, user_id):
def channel(self, message: revolt.Message):
return message.channel

def is_nsfw(self, obj):
return obj.nsfw

def server(self, obj):
return obj.server

Expand Down

0 comments on commit 77cd342

Please sign in to comment.