As best as I can see, the only (short of checking for 'pull/' in URLs) way to distinguish between the two is to use the (undocumented) pull_request key in the issue block. Might need a handle_issue_comment function to deal with this, as you can't put conditionals in the format handlers (not a format string :( )
https://github.com/TrueBrain/DorpsGek/blob/569474db772add7be7260d01e4d5abc724d0d792/dorpsgek/events/pull_request.py#L32