Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed embeded -> embedded #176

Merged
merged 2 commits into from
Oct 24, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ assignees: zekroTJA

## Images and Logs
> Here you can embed images or crash logs or command lines.
> Please use embeded markdown images and code blocks for that.
> Please use embedded markdown images and code blocks for that.
...
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ assignees: zekroTJA

## Images and Logs
> Here you can embed images or crash logs or command lines.
> Please use embeded markdown images and code blocks for that.
> Please use embedded markdown images and code blocks for that.
...
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/vulnerability.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ assignees: zekroTJA

## Images and Links
> Here you can embed images or crash logs or command lines.
> Please use embeded markdown images and code blocks for that.
> Please use embedded markdown images and code blocks for that.
...
2 changes: 1 addition & 1 deletion internal/commands/cmdsay.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (c *CmdSay) GetInvokes() []string {
}

func (c *CmdSay) GetDescription() string {
return "Send an embeded message with the bot."
return "Send an embedded message with the bot."
}

func (c *CmdSay) GetSubPermissionRules() []shireikan.SubPermission {
Expand Down
2 changes: 1 addition & 1 deletion internal/util/embeds.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (emb *EmbedMessage) DeleteAfter(d time.Duration) *EmbedMessage {
return emb
}

// Error returns the embeded error.
// Error returns the embedded error.
func (emb *EmbedMessage) Error() error {
return emb.err
}
Expand Down
2 changes: 1 addition & 1 deletion internal/util/report/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (r *Report) AsEmbed(publicAddr string) *discordgo.MessageEmbed {

// AsEmbedField creates a discordgo.MessageEmbedField from
// the report. publicAddr is passed to generate a publicly
// vailable link embeded in the embed field.
// vailable link embedded in the embed field.
func (r *Report) AsEmbedField(publicAddr string) *discordgo.MessageEmbedField {
attachmentTxt := ""
if r.AttachmehtURL != "" {
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/routes/commands/commands.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h3 class="group-header">{{ kv.key }}</h3>
>
<div class="flex-center">
<h5>{{ c.invokes[0] }}</h5>
<p class="embeded ml-2">{{ c.domain_name }}</p>
<p class="embedded ml-2">{{ c.domain_name }}</p>
<span
*ngIf="c.is_executable_in_dm"
class="dmc-badge"
Expand Down
14 changes: 7 additions & 7 deletions web/src/app/routes/guild/guild.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h5 class="mb-2">REASON</h5>
<div id="heading-container">
<img [src]="guild.icon_url | discordAsset:'/assets/dc-logo.svg':64:(!!guild.icon)"/>
<h3>{{ guild.name }}</h3>
<p class="embeded">{{ guild.id }}</p>
<p class="embedded">{{ guild.id }}</p>
</div>

<!-- LOGGED IN MEMBER INFO -->
Expand All @@ -30,7 +30,7 @@ <h3>{{ guild.name }}</h3>
<div class="info-container">
<div class="d-flex">
<h4 class="mr-3">{{ guild.self_member.nick || guild.self_member.user.username }}</h4>
<p class="embeded">{{ guild.self_member.user.id }}</p>
<p class="embedded">{{ guild.self_member.user.id }}</p>
</div>
<div class="d-flex mt-2 overflow-wrap">
<div *ngFor="let r of userRoles">
Expand Down Expand Up @@ -184,7 +184,7 @@ <h5>Voicelog Channel</h5>
<div *ngIf="guildSettingsContains('sp.guild.config.joinmsg')" class="settingsTile">
<h5>Join Message</h5>
<i>
You can use <span class="embeded">[user]</span> to display the name or <span class="embeded">[ment]</span> to mention the joined user.
You can use <span class="embedded">[user]</span> to display the name or <span class="embedded">[ment]</span> to mention the joined user.
</i>
<div class="d-flex mt-3">
<select [(ngModel)]="settings.joinmessagechannel" (input)="updatedSettings.joinmessagechannel = getSelectedValue($event)">
Expand All @@ -208,7 +208,7 @@ <h5>Join Message</h5>
<div *ngIf="guildSettingsContains('sp.guild.config.leavemsg')" class="settingsTile">
<h5>Leave Message</h5>
<i>
You can use <span class="embeded">[user]</span> to display the name or <span class="embeded">[ment]</span> to mention the left user.
You can use <span class="embedded">[user]</span> to display the name or <span class="embedded">[ment]</span> to mention the left user.
</i>
<div class="d-flex mt-3">
<select [(ngModel)]="settings.leavemessagechannel" (input)="updatedSettings.leavemessagechannel = getSelectedValue($event)">
Expand Down Expand Up @@ -263,11 +263,11 @@ <h6>Add Permission Rule</h6>
<button class="ml-auto mb-auto" (click)="addPermissionRule()">ADD RULE</button>
</div>
<div *ngFor="let p of objectAsArray(settings?.perms)" class="permission-view">
<p class="embeded perms-role mb-2" [style.background-color]="p.role?.color ? toHexClr(p.role?.color) : null">@{{ p.role?.name || p.id }}</p>
<p class="embedded perms-role mb-2" [style.background-color]="p.role?.color ? toHexClr(p.role?.color) : null">@{{ p.role?.name || p.id }}</p>
<ul>
<li *ngFor="let perm of p.perms">
<div class="d-flex">
<p class="embeded" [ngClass]="perm.startsWith('+') ? 'allowed' : 'disallowed'">{{ perm }}</p>
<p class="embedded" [ngClass]="perm.startsWith('+') ? 'allowed' : 'disallowed'">{{ perm }}</p>
<a class="remove-btn" (click)="removePermission(p, perm)"></a>
</div>
</li>
Expand All @@ -293,7 +293,7 @@ <h4 class="mx-3">BACKUPS</h4>
<span *ngFor="let b of backups; index as i" class="backups-entry">
<strong class="number">{{ i }}</strong>
<span>{{ dateFormat(b.timestamp) }}</span>
<span class="embeded">(ID: {{b.file_id}})</span>
<span class="embedded">(ID: {{b.file_id}})</span>
<a
title="Download backup file"
[href]="getBackupDownloadLink(b.file_id)"
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/routes/guild/guild.component.sass
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

+hover-btn(1.01)

p.embeded
p.embedded
font-size: 14px

img
Expand Down
6 changes: 3 additions & 3 deletions web/src/app/routes/member/member.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h5 class="mb-2">REASON</h5>
<div class="d-flex">
<h3>{{ member.user.username }}#{{ member.user.discriminator }}</h3>
<p *ngIf="member.user.bot" class="bot-tag">BOT</p>
<p class="embeded">{{ member.user.id }}</p>
<p class="embedded">{{ member.user.id }}</p>
</div>
<p *ngIf="member.nick" class="font-gray">aka. "{{ member.nick }}"</p>
</div>
Expand Down Expand Up @@ -125,13 +125,13 @@ <h4 class="mt-4 mb-3">General User Information</h4>
<div class="d-flex overflow-wrap">
<p
*ngFor="let p of getPerms(true)"
class="permissions embeded allowed"
class="permissions embedded allowed"
>{{ p }}</p>
</div>
<div class="d-flex overflow-wrap">
<p
*ngFor="let p of getPerms(false)"
class="permissions embeded disallowed"
class="permissions embedded disallowed"
>{{ p }}</p>
</div>
</ng-template>
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/routes/scoreboard/scoreboard.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<img [src]="s.member.avatar_url" width="40" height="40"/>
<div>
<p class="m-0">{{s.member.user.username}}#{{s.member.user.discriminator}}</p>
<p class="embeded m-0">{{s.member.user.id}}</p>
<p class="embedded m-0">{{s.member.user.id}}</p>
</div>
<app-karma-tile class="ml-auto" [value]="s.value"></app-karma-tile>
</a>
Expand Down
2 changes: 1 addition & 1 deletion web/src/styles.sass
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ select
//-----------------------------------


.embeded
.embedded
padding: 2px 5px
background-color: #2e0e0e66
width: fit-content
Expand Down