diff --git a/sopel_modules/SpiceBot/Database.py b/sopel_modules/SpiceBot/Database.py index 0754286..d0906fb 100644 --- a/sopel_modules/SpiceBot/Database.py +++ b/sopel_modules/SpiceBot/Database.py @@ -12,7 +12,7 @@ from sopel.db import SopelDB, _deserialize from .Config import config as botconfig from sqlalchemy.engine.url import URL -from sqlalchemy import create_engine, Column, String, ForeignKey, Integer, Unicode +from sqlalchemy import create_engine, Column, String, ForeignKey, Integer, Text from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.exc import SQLAlchemyError @@ -50,7 +50,7 @@ class NickValues(BASE): nick_id = Column(Integer, ForeignKey('spice_nick_ids.nick_id'), primary_key=True) namespace = Column(String(255), primary_key=True) key = Column(String(255), primary_key=True) - value = Column(Unicode()) + value = Column(Text()) class ChannelValues(BASE): @@ -61,7 +61,7 @@ class ChannelValues(BASE): channel = Column(String(255), primary_key=True) namespace = Column(String(255), primary_key=True) key = Column(String(255), primary_key=True) - value = Column(Unicode()) + value = Column(Text()) class PluginValues(BASE): @@ -72,7 +72,7 @@ class PluginValues(BASE): plugin = Column(String(255), primary_key=True) namespace = Column(String(255), primary_key=True) key = Column(String(255), primary_key=True) - value = Column(Unicode()) + value = Column(Text()) class SpiceDB(object): diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/moviequotes.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/moviequotes.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/moviequotes.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/moviequotes.json diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/oaf.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/oaf.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/oaf.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/oaf.json diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/paygrade.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/paygrade.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/paygrade.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/paygrade.json diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/phish.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/phish.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/phish.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/phish.json diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/relationship.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/relationship.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/relationship.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/relationship.json diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/solution.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/solution.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/solution.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/solution.json diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/techsupport.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/techsupport.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/techsupport.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/techsupport.json diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/til.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/til.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/til.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/til.json diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/uselessfacts.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/uselessfacts.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/uselessfacts.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/uselessfacts.json diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/webmd.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/webmd.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/webmd.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/webmd.json diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/wife.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/wife.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/wife.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/wife.json diff --git a/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/world.json b/sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/world.json similarity index 100% rename from sopel_modules/SpiceBot_Configs/SpiceBot_DictComs/sayings/world.json rename to sopel_modules/SpiceBot_Configs/SpiceBot_DictComs_old/sayings/world.json