mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-30 15:31:13 -05:00
Added Reddit oauth
Added client_id and client_secret
This commit is contained in:
parent
ac3b4b5976
commit
1fc876e94f
@ -370,6 +370,24 @@ conf.registerChannelValue(
|
|||||||
registry.Boolean(True, _("""Whether to add additional info about Reddit links.""")),
|
registry.Boolean(True, _("""Whether to add additional info about Reddit links.""")),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Reddit oauth
|
||||||
|
conf.registerGlobalValue(
|
||||||
|
SpiffyTitles.reddit,
|
||||||
|
"clientid",
|
||||||
|
registry.String(
|
||||||
|
"", _("""Reddit oauth client_key - required for Reddit handler."""), private=True
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
conf.registerGlobalValue(
|
||||||
|
SpiffyTitles.reddit,
|
||||||
|
"clientsecret",
|
||||||
|
registry.String(
|
||||||
|
"", _("""Reddit oauth client_secret - required for Reddit handler."""), private=True
|
||||||
|
),
|
||||||
|
)
|
||||||
|
# End
|
||||||
|
|
||||||
# Reddit templates
|
# Reddit templates
|
||||||
conf.registerChannelValue(
|
conf.registerChannelValue(
|
||||||
SpiffyTitles.reddit,
|
SpiffyTitles.reddit,
|
||||||
@ -675,7 +693,6 @@ conf.registerChannelValue(
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# coub configs
|
# coub configs
|
||||||
conf.registerGroup(SpiffyTitles, "coub")
|
conf.registerGroup(SpiffyTitles, "coub")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user