Skip navigation links
Stable | Nightly
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    com.gmt2001.datastore.DataStore.CreateIndexes()
    Indexes are created automatically upon CREATE TABLE
    com.gmt2001.datastore.DataStore.dispose()
    Please instead call Datastore2.dispose()
    com.gmt2001.datastore.DataStore.DropIndexes()
    Indexes are dropped automatically upon DROP TABLE
    com.gmt2001.datastore.DataStoreConverter
    No replacement planned
    com.gmt2001.datastore.H2Store
    Use MySQLStore2 instead
    com.gmt2001.datastore.MySQLStore
    Use MySQLStore2 instead
    com.gmt2001.datastore.SqliteStore
    Use MySQLStore2 instead
    com.gmt2001.HttpRequest
    Please use HttpClient instead
    com.gmt2001.HttpResponse
    Please use HttpClient instead
    com.gmt2001.TwitchAPIv5
    Please use Helix instead. In scripts, use $.helix instead of $.twitch
    com.gmt2001.util.GamesListUpdater
    To be replaced
    tv.phantombot.cache.TwitchCache.getViewerCount()
    Please use TwitchCache.viewers() instead
    tv.phantombot.cache.TwitchCache.getViews()
    Twitch does not report this anymore, this method is temporarily available to prevent script errors and will be removed soon
    tv.phantombot.cache.UsernameCache
    Please use ViewerCache instead. In scripts, use $.viewer instead of $.username
    tv.phantombot.cache.ViewerListCache
    Please use ViewerCache instead. In scripts, use $.viewer instead of $.usernameCache
    tv.phantombot.discord.util.DiscordUtil.getUserWithDiscriminator(String, String)
    Discriminators have been removed from Discord
    tv.phantombot.discord.util.DiscordUtil.getUserWithDiscriminatorAsync(String, String)
    Discriminators have been removed from Discord
    tv.phantombot.event.discord.DiscordEvent.getDiscriminator()
    Discriminators have been removed from Discord
    tv.phantombot.event.irc.channel.IrcChannelUsersUpdateEvent(String[], String[])
    Joins/Parts are not calculated anymore
    tv.phantombot.event.irc.channel.IrcChannelUsersUpdateEvent(TwitchSession, String[], String[])
    Joins/Parts are not calculated anymore
    tv.phantombot.event.irc.channel.IrcChannelUsersUpdateEvent.getJoins()
    Joins/Parts are not calculated anymore
    tv.phantombot.event.irc.channel.IrcChannelUsersUpdateEvent.getParts()
    Joins/Parts are not calculated anymore
    tv.phantombot.PhantomBot.getProperties()
    Please use CaselessProperties.instance() instead
    tv.phantombot.PhantomBot.isPrerelease()
    This build type is not used
    tv.phantombot.RepoVersion.isPrereleaseBuild()
    This build type is not used
    tv.phantombot.twitch.api.Helix.getUsersFollows(String, String, int, String)
    This endpoint is deprecated by Twitch in favor of Helix.getChannelFollowers(String, int, String), which requires an OAuth scope
    tv.phantombot.twitch.api.Helix.getUsersFollowsAsync(String, String, int, String)
    This endpoint is deprecated by Twitch in favor of Helix.getChannelFollowersAsync(String, int, String), which requires an OAuth scope
  • Deprecated Classes
    Class
    Description
    com.gmt2001.datastore.DataStoreConverter
    No replacement planned
    com.gmt2001.datastore.H2Store
    Use MySQLStore2 instead
    com.gmt2001.datastore.MySQLStore
    Use MySQLStore2 instead
    com.gmt2001.datastore.SqliteStore
    Use MySQLStore2 instead
    com.gmt2001.HttpRequest
    Please use HttpClient instead
    com.gmt2001.HttpResponse
    Please use HttpClient instead
    com.gmt2001.TwitchAPIv5
    Please use Helix instead. In scripts, use $.helix instead of $.twitch
    com.gmt2001.util.GamesListUpdater
    To be replaced
    tv.phantombot.cache.UsernameCache
    Please use ViewerCache instead. In scripts, use $.viewer instead of $.username
    tv.phantombot.cache.ViewerListCache
    Please use ViewerCache instead. In scripts, use $.viewer instead of $.usernameCache
  • Deprecated Methods
    Method
    Description
    com.gmt2001.datastore.DataStore.CreateIndexes()
    Indexes are created automatically upon CREATE TABLE
    com.gmt2001.datastore.DataStore.dispose()
    Please instead call Datastore2.dispose()
    com.gmt2001.datastore.DataStore.DropIndexes()
    Indexes are dropped automatically upon DROP TABLE
    tv.phantombot.cache.TwitchCache.getViewerCount()
    Please use TwitchCache.viewers() instead
    tv.phantombot.cache.TwitchCache.getViews()
    Twitch does not report this anymore, this method is temporarily available to prevent script errors and will be removed soon
    tv.phantombot.discord.util.DiscordUtil.getUserWithDiscriminator(String, String)
    Discriminators have been removed from Discord
    tv.phantombot.discord.util.DiscordUtil.getUserWithDiscriminatorAsync(String, String)
    Discriminators have been removed from Discord
    tv.phantombot.event.discord.DiscordEvent.getDiscriminator()
    Discriminators have been removed from Discord
    tv.phantombot.event.irc.channel.IrcChannelUsersUpdateEvent.getJoins()
    Joins/Parts are not calculated anymore
    tv.phantombot.event.irc.channel.IrcChannelUsersUpdateEvent.getParts()
    Joins/Parts are not calculated anymore
    tv.phantombot.PhantomBot.getProperties()
    Please use CaselessProperties.instance() instead
    tv.phantombot.PhantomBot.isPrerelease()
    This build type is not used
    tv.phantombot.RepoVersion.isPrereleaseBuild()
    This build type is not used
    tv.phantombot.twitch.api.Helix.getUsersFollows(String, String, int, String)
    This endpoint is deprecated by Twitch in favor of Helix.getChannelFollowers(String, int, String), which requires an OAuth scope
    tv.phantombot.twitch.api.Helix.getUsersFollowsAsync(String, String, int, String)
    This endpoint is deprecated by Twitch in favor of Helix.getChannelFollowersAsync(String, int, String), which requires an OAuth scope
  • Deprecated Constructors
    Constructor
    Description
    tv.phantombot.event.irc.channel.IrcChannelUsersUpdateEvent(String[], String[])
    Joins/Parts are not calculated anymore
    tv.phantombot.event.irc.channel.IrcChannelUsersUpdateEvent(TwitchSession, String[], String[])
    Joins/Parts are not calculated anymore

Copyright © 2016-2024 phantombot.github.io/PhantomBot