You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is used in my current bot, shoutout to bobbobs for suggesting I make it an example.
i have an example of configurable auto roles but its alot of bloat-y variables that do other things (like in-text variables and whatnot)
asyncdefon_member_join(self, member: revolt.Member):
ifmember.server.id=="SERVER ID":
role=member.server.get_role("ROLE ID OF ROLE IN SERVER")
awaitmember.edit(roles=[role])
channel=Client.get_channel(self, "CHANNEL ID OF CHANNEL IN SERVER")
awaitchannel.send(f"Welcome {member.mention} to the server!")
The text was updated successfully, but these errors were encountered:
This is used in my current bot, shoutout to bobbobs for suggesting I make it an example.
i have an example of configurable auto roles but its alot of bloat-y variables that do other things (like in-text variables and whatnot)
The text was updated successfully, but these errors were encountered: