sm00th / bitlbee-discord

Bitlbee plugin for Discord (http://discordapp.com)
GNU General Public License v2.0
290 stars 27 forks source link

A command to get the previous n pins on channel/server #59

Closed zertap closed 7 years ago

zertap commented 7 years ago

https://discordapp.com/developers/docs/resources/channel#get-pinned-messages

If bitlbee supports supplying commands to a plugin, this could be nice. Maybe with syntax like: get pins server [all | channel] all-servers

sm00th commented 7 years ago

I don't think that a separate command is a good idea, but it can be a new option to dump them on join. Besides it looks like getting list of pinned messages would be needed anyways to fix #69

zertap commented 7 years ago

That would be alright too. TBH if pins would just be prefixed with "PIN:" or something, I could just filter them to another buffer on clientside.

sm00th commented 7 years ago

as mentioned previously it is not implemented as a command, but as an account option. fetch_pinned (disabled by default) would allow you to fetch pinned messages on join.