from django.contrib import admin
from .models import BotConfig, WelcomeMessage


@admin.register(BotConfig)
class BotConfigAdmin(admin.ModelAdmin):
    list_display = ("bot_name", "channel_id", "bot_token")
    search_fields = ("bot_name", "channel_id", "bot_token")

@admin.register(WelcomeMessage)
class WWelcomeMessageAdmin(admin.ModelAdmin):
    list_display = ("bot", "welcome_message", "welcome_image", "admin_contact", "channel_link", "group_link", "custom_link1_name", "custom_link1_url")
    