Skip to content

Commit

Permalink
Update guildr.py
Browse files Browse the repository at this point in the history
  • Loading branch information
akimbo7 authored Mar 6, 2022
1 parent 0721da8 commit 91161a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guildr/guildr.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def sendFriendRequest(self, userID):
return response, response.json()


def sendMessage(self, channelID, message, isSilent, isPrivate):
def sendMessage(self, channelID, message, isSilent=False, isPrivate=False):

payload = {"messageId":f"{uuid.uuid1()}","content":{"object":"value","document":{"object":"document","data":{},"nodes":[{"object":"block","type":"paragraph","data":{},"nodes":[{"object":"text","leaves":[{"object":"leaf","text":message,"marks":[]}]}]}]}},"repliesToIds":[],"confirmed":False,"isSilent":isSilent,"isPrivate":isPrivate}

Expand Down

0 comments on commit 91161a8

Please sign in to comment.