Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

✨ Added UserMessage.from_id #315

Merged
merged 10 commits into from
Dec 21, 2021

Conversation

Enderchief
Copy link
Member

Changes

  • adds: UserMessage.from_id, Client.get_message

From https://discord.com/developers/docs/resources/channel#get-channel-messages

  • improvements: ran black on files edited

Check off the following

  • I have tested my changes with the current requirements
  • My Code follows the pep8 code style.

@Enderchief Enderchief added the enhancement New feature or request label Dec 17, 2021
@codecov
Copy link

codecov bot commented Dec 17, 2021

Codecov Report

Merging #315 (b52a058) into main (b8b1448) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #315   +/-   ##
=======================================
  Coverage   90.00%   90.00%           
=======================================
  Files           9        9           
  Lines         100      100           
=======================================
  Hits           90       90           
  Misses         10       10           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8b1448...b52a058. Read the comment docs.

pincer/client.py Show resolved Hide resolved
pincer/client.py Outdated Show resolved Hide resolved
pincer/client.py Outdated Show resolved Hide resolved
pincer/client.py Outdated Show resolved Hide resolved
pincer/client.py Outdated Show resolved Hide resolved
pincer/client.py Outdated Show resolved Hide resolved
pincer/client.py Outdated Show resolved Hide resolved
pincer/client.py Outdated Show resolved Hide resolved
@Enderchief
Copy link
Member Author

@Lunarmagpie @trag1c for the formatting changes, all of it was done by black (unless there was a merge conflict). I think we should keep it how black made it. What do you good people think?

@trag1c
Copy link
Member

trag1c commented Dec 17, 2021

@Lunarmagpie @trag1c for the formatting changes, all of it was done by black (unless there was a merge conflict). I think we should keep it how black made it. What do you good people think?

Would be great if we could get rid of that comma thing, other than that I don't mind

pincer/client.py Show resolved Hide resolved
pincer/utils/conversion.py Show resolved Hide resolved
pincer/utils/conversion.py Outdated Show resolved Hide resolved
@Lunarmagpie Lunarmagpie merged commit cfa862e into Pincer-org:main Dec 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants