Pandabot/conf/channels.conf
2024-12-15 23:45:12 +00:00

47 lines
2.4 KiB
Text
Executable file

# Attention: bot rewrite hes own conf file in human readable form
# All "to:" channels automatical r mode and will be read.
# All channels without "to:" will be still read and saved in the database
# From and section names must be unique, otherwise, the last find will be used
# Example section config:
# -----------------------
#
# '<unique name>':
# mode: r # modus i for interactiv (botcommands) or r for readonly - ir = interactiv + request mode
# channelbotname: name # overwrites pandabot.conf:botcommand eg. eva, adam or ... default is pandabot.conf:botcommand
# autosync: true # or false - is false by default - ATTENTION! TARGET CHANNEL SHOULD BE FULL READ @ DATABASE!
# disabled: true # or updatedb or false - is false by default
# from: <channelid> # from:type:topicid - forward only files from specificated topic
# to:
# - <channelid1>
# - <channelid2>:topic:<topicid> # send forwards in topic
# - <channelid3>
# - <channelid4>
# - ...
#
# redirectout: <channelid>:<link|id>:<targetchannelid> # means print search/ last results from another channel(<channelid>) to current channel
# is <targetchannelid> configured, he will search in channelid and forward to targetchannelid
# eg. channel1: search in channelid and will forward to targetchannelid
# use !<botname> last<x> channel:current to list last<x> entrys in current channel
# use !<botname> search <term> channel:current to search in current channel
#
# repostinfomsg: <msgid>:<time>:<timemode>:<topic> # eg. repostinfomsg: 1234:5:minutes:-1 (-1 no topic, otherwise topicid)
# <timemode>: seconds, minutes, hours, days - min. reposttime: 30 minutes
#
# types can only be setup @ from:
# from: <channelid> # set default video
# from: <channelid>:mp3 # set type to mp3
# from: <channelid>:movie:topicid # set type to movie only from topicid
#
# valid types are: mp3, flac, audio, audiobooks, ebooks, movie, moviefhd, movie4gb, archive, video - default video (means video files with an minimum duration from 15 minutes)
# all audio types: have no min. duration, movie: min. duration 75 minutes
# moviefhd: movie fhd(+) and min size 1.7gb, movie4gb min size 2.5 gb
# archive: zip, rar, zZ and so on...
#
# simple section conf:
# --------------------
# <unique name>:
# from: <channelid>
# to:
# - <channelid>
#
# -------------------