mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
ListAttribute
This commit is contained in:
parent
15e9124185
commit
a7b3f35d2a
@ -2,7 +2,7 @@
|
||||
from __future__ import unicode_literals, absolute_import, division, print_function
|
||||
"""How to handle gifs"""
|
||||
|
||||
from sopel.config.types import StaticSection, ValidatedAttribute
|
||||
from sopel.config.types import StaticSection, ValidatedAttribute, ListAttribute
|
||||
import sopel_modules
|
||||
|
||||
from .Config import config as botconfig
|
||||
@ -20,7 +20,7 @@ import json
|
||||
|
||||
|
||||
class SpiceBot_Gif_MainSection(StaticSection):
|
||||
extra = ValidatedAttribute('extra', default=None)
|
||||
extra = ListAttribute('extra', default=None)
|
||||
nsfw = ValidatedAttribute('nsfw', default=False)
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user