Browse sources$ls -a sources
Logo of discord
Discord
Integrate community feedback directly from Discord
Sync your customers' dataFiber pulls data from your customers' Discord accounts into your database or cloud storage. Skip months of integration work and begin syncing in minutes.
Logo of discord
Logo of discord
Logo of discord
Logo of discord
Logo of discord
Logo of discord
Logo of discord
Logo of discord
Logo of discord
Logo of discord
Fiber
postgres-prod
discord_messages
discord_members
discord_channels
Your customers' Discord accounts
Your production database
Meet your new integration toolkit: SQLReplace calls to the Discord API with an interface you already use. Access the data you need straight from your database.
-- Fetch all the Messages belonging to the Discord
-- account of a particular user.

SELECT *
FROM fiber.discord_message
WHERE account_id = '{user.discord_id}'
-- Fetch all the Messages belonging to the Discord
-- account of a particular user.

SELECT *
FROM fiber.discord_message
WHERE account_id = '{user.discord_id}'
Code
CREATE TABLE fiber.discord_message (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
reactions JSONB,
attachments JSONB,
tts BOOLEAN,
embeds JSONB,
timestamp TIMESTAMP WITH TIME ZONE,
mention_everyone BOOLEAN,
id TEXT,
pinned BOOLEAN,
edited_timestamp TIMESTAMP WITH TIME ZONE,
author JSONB,
mention_roles TEXT[],
content TEXT,
channel_id TEXT,
mentions JSONB,
type DOUBLE PRECISION
)
CREATE TABLE fiber.discord_message (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
reactions JSONB,
attachments JSONB,
tts BOOLEAN,
embeds JSONB,
timestamp TIMESTAMP WITH TIME ZONE,
mention_everyone BOOLEAN,
id TEXT,
pinned BOOLEAN,
edited_timestamp TIMESTAMP WITH TIME ZONE,
author JSONB,
mention_roles TEXT[],
content TEXT,
channel_id TEXT,
mentions JSONB,
type DOUBLE PRECISION
)
Model definition
About this source
Logo of Discord
DiscordVoice, video, and text chat app for communities and friends.discord.com  ↗
Available resources
    Messages
    Members
    Channels
Missing a resource? We will build it for you.
Similar sources
OAuth
Need help with OAuth for Discord?Handshake ↗ is a Next.js app boilerplate that handles your OAuth with Discord and over 200 other APIs. Setup and deploy within minutes.
Logo of discordIntegrate Discord using Fiber Fiber makes it easy to access third-party data from Discord accounts. Get started in just a few minutes.