Module: Discorb

Defined in:
lib/discorb.rb,
lib/discorb/log.rb,
lib/discorb/file.rb,
lib/discorb/flag.rb,
lib/discorb/http.rb,
lib/discorb/role.rb,
lib/discorb/user.rb,
lib/discorb/asset.rb,
lib/discorb/color.rb,
lib/discorb/embed.rb,
lib/discorb/emoji.rb,
lib/discorb/error.rb,
lib/discorb/event.rb,
lib/discorb/guild.rb,
lib/discorb/image.rb,
lib/discorb/utils.rb,
lib/discorb/client.rb,
lib/discorb/common.rb,
lib/discorb/invite.rb,
lib/discorb/member.rb,
lib/discorb/channel.rb,
lib/discorb/gateway.rb,
lib/discorb/intents.rb,
lib/discorb/message.rb,
lib/discorb/modules.rb,
lib/discorb/sticker.rb,
lib/discorb/webhook.rb,
lib/discorb/presence.rb,
lib/discorb/reaction.rb,
lib/discorb/extension.rb,
lib/discorb/audit_logs.rb,
lib/discorb/components.rb,
lib/discorb/dictionary.rb,
lib/discorb/permission.rb,
lib/discorb/rate_limit.rb,
lib/discorb/app_command.rb,
lib/discorb/application.rb,
lib/discorb/emoji_table.rb,
lib/discorb/integration.rb,
lib/discorb/interaction.rb,
lib/discorb/voice_state.rb,
lib/discorb/guild_template.rb,
lib/discorb/gateway_requests.rb

Overview

A new wrapper for the Discorb API.

Author:

  • sevenc-nanashi

Defined Under Namespace

Modules: ApplicationCommand, Connectable, EmojiTable, Gateway, Messageable Classes: Activity, AllowedMentions, Application, Asset, Attachment, AuditLog, BadRequestError, Button, CategoryChannel, Channel, Client, ClientError, ClientUser, CloudFlareBanError, Color, CommandInteraction, Component, CustomEmoji, DMChannel, DefaultAvatar, Dictionary, DiscorbError, DiscordModel, Embed, Emoji, Event, Extension, File, Flag, ForbiddenError, Guild, GuildChannel, GuildTemplate, HTTPError, Image, Integration, Intents, Interaction, Invite, Member, Message, MessageComponentInteraction, NewsChannel, NotFoundError, NotSupportedWarning, PartialEmoji, Permission, PermissionOverwrite, Presence, Reaction, Role, SelectMenu, Snowflake, StageChannel, StageInstance, Sticker, SystemChannelFlag, TextChannel, ThreadChannel, TimeoutError, UnauthorizedError, UnicodeEmoji, User, VoiceChannel, VoiceRegion, VoiceState, Webhook, WelcomeScreen

Constant Summary collapse

Colour =

Returns The alias of Discorb::Color.

Returns:

  • (Class)

    The alias of Discorb::Color.

Color
API_BASE_URL =

Returns The API base URL.

Returns:

  • (String)

    The API base URL.

"https://discord.com/api/v9"
VERSION =

Returns The version of discorb.

Returns:

  • (String)

    The version of discorb.

"0.10.3"
USER_AGENT =

Returns The user agent for the bot.

Returns:

  • (String)

    The user agent for the bot.

"DiscordBot (https://discorb-lib.github.io #{VERSION}) Ruby/#{RUBY_VERSION}"